mirror of
https://github.com/flutter/flutter
synced 2024-08-27 12:00:58 +00: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…
Reference in a new issue