Index: sdk/lib/_internal/pub/lib/src/error_group.dart |
diff --git a/sdk/lib/_internal/pub/lib/src/error_group.dart b/sdk/lib/_internal/pub/lib/src/error_group.dart |
index a6f9e861d179e12173dd2e292be4c7e186095af4..694638c24716b935065b71c6fcbbcad3bd8bb9bf 100644 |
--- a/sdk/lib/_internal/pub/lib/src/error_group.dart |
+++ b/sdk/lib/_internal/pub/lib/src/error_group.dart |
@@ -129,7 +129,7 @@ class ErrorGroup { |
_isDone = true; |
_done._signalError(error); |
- if (!caught && !_done._hasListeners) runAsync((){ throw error; }); |
+ if (!caught && !_done._hasListeners) error.throwDelayed(); |
} |
/// Notifies [this] that one of its member [Future]s is complete. |