Chromium Code Reviews

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.
Jump to:
View side-by-side diff with in-line comments
« 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