Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(796)

Unified Diff: runtime/vm/isolate.h

Issue 1286163002: Make uncaught errors terminating isolates only get printed if nobody is listening. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | runtime/vm/isolate.cc » ('j') | runtime/vm/isolate.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/isolate.h
diff --git a/runtime/vm/isolate.h b/runtime/vm/isolate.h
index a21554e6c5f54f445d1227eeef67009349d27193..4f75d3f0dfcc0548e33a7a447c0292b0b02fdf44 100644
--- a/runtime/vm/isolate.h
+++ b/runtime/vm/isolate.h
@@ -477,7 +477,7 @@ class Isolate : public BaseIsolate {
void AddErrorListener(const SendPort& listener);
void RemoveErrorListener(const SendPort& listener);
- void NotifyErrorListeners(const String& msg, const String& stacktrace);
+ bool NotifyErrorListeners(const String& msg, const String& stacktrace);
bool ErrorsFatal() const { return errors_fatal_; }
void SetErrorsFatal(bool val) { errors_fatal_ = val; }
« no previous file with comments | « no previous file | runtime/vm/isolate.cc » ('j') | runtime/vm/isolate.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698