We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07c780b commit b54bb88Copy full SHA for b54bb88
lib/web_ui/dev/browser.dart
@@ -67,7 +67,7 @@ abstract class Browser {
67
// Don't return a Future here because there's no need for the caller to wait
68
// for the process to actually start. They should just wait for the HTTP
69
// request instead.
70
- runZoned(() async {
+ runZonedGuarded(() async {
71
var process = await startBrowser();
72
_processCompleter.complete(process);
73
@@ -110,7 +110,7 @@ abstract class Browser {
110
}
111
112
_onExitCompleter.complete();
113
- }, onError: (dynamic error, StackTrace stackTrace) {
+ }, (dynamic error, StackTrace stackTrace) {
114
// Ignore any errors after the browser has been closed.
115
if (_closed) {
116
return;
0 commit comments