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

Unified Diff: runtime/lib/isolate_patch.dart

Issue 11413101: Added support for isolate unhandled exceptions. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 1 month 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
Index: runtime/lib/isolate_patch.dart
diff --git a/runtime/lib/isolate_patch.dart b/runtime/lib/isolate_patch.dart
index 451b21956a11ccd260b6c49f2e25a36654157726..20d8089f84fa7743971825f738aa3d8e7f778e55 100644
--- a/runtime/lib/isolate_patch.dart
+++ b/runtime/lib/isolate_patch.dart
@@ -123,7 +123,11 @@ patch ReceivePort get port {
return _portInternal;
}
-patch spawnFunction(void topLevelFunction()) native "isolate_spawnFunction";
+patch spawnFunction(void topLevelFunction(),
+ [bool UnhandledExceptionCallback(IsolateUnhandledException e)])
+ native "isolate_spawnFunction";
-patch spawnUri(String uri) native "isolate_spawnUri";
+patch spawnUri(String uri,
+ [bool UnhandledExceptionCallback(IsolateUnhandledException e)])
+ native "isolate_spawnUri";
« no previous file with comments | « runtime/lib/isolate.cc ('k') | runtime/tests/vm/vm.status » ('j') | runtime/vm/isolate.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698