mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
This commit is contained in:
parent
23a52f547a
commit
896c63eaed
@ -169,8 +169,8 @@ class _TaskQueueItem<T> {
|
||||
Future<void> run() async {
|
||||
try {
|
||||
_completer.complete(await _closure());
|
||||
} catch (e) {
|
||||
_completer.completeError(e);
|
||||
} catch (e, st) {
|
||||
_completer.completeError(e, st);
|
||||
} finally {
|
||||
onComplete?.call();
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user