Skip to content

Commit

Permalink
Migrate runZoned to runZonedGuarded (flutter#22198)
Browse files Browse the repository at this point in the history
  • Loading branch information
zanderso authored Oct 29, 2020
1 parent 07c780b commit b54bb88
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/web_ui/dev/browser.dart
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ abstract class Browser {
// Don't return a Future here because there's no need for the caller to wait
// for the process to actually start. They should just wait for the HTTP
// request instead.
runZoned(() async {
runZonedGuarded(() async {
var process = await startBrowser();
_processCompleter.complete(process);

Expand Down Expand Up @@ -110,7 +110,7 @@ abstract class Browser {
}

_onExitCompleter.complete();
}, onError: (dynamic error, StackTrace stackTrace) {
}, (dynamic error, StackTrace stackTrace) {
// Ignore any errors after the browser has been closed.
if (_closed) {
return;
Expand Down

0 comments on commit b54bb88

Please sign in to comment.