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

Unified Diff: lib/pool.dart

Issue 2891093002: Don't pass 'runGuarded' flag to `bindCallback`.
Patch Set: Created 3 years, 7 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 | pubspec.yaml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/pool.dart
diff --git a/lib/pool.dart b/lib/pool.dart
index 04aaaea6590456dc4267dc1defe36bd6aea2015d..e79f9f807104b05b012faaaed4a30f501e46ea4a 100644
--- a/lib/pool.dart
+++ b/lib/pool.dart
@@ -183,8 +183,7 @@ class Pool {
_allocatedResources--;
if (_allocatedResources == 0) _closeGroup.close();
} else {
- _onReleaseCallbacks.add(
- Zone.current.bindCallback(onRelease, runGuarded: false));
+ _onReleaseCallbacks.add(Zone.current.bindCallback(onRelease));
}
}
« no previous file with comments | « no previous file | pubspec.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698