This commit is contained in:
parent
23a52f547a
commit
896c63eaed
@ -169,8 +169,8 @@ class _TaskQueueItem<T> {
|
|||||||
Future<void> run() async {
|
Future<void> run() async {
|
||||||
try {
|
try {
|
||||||
_completer.complete(await _closure());
|
_completer.complete(await _closure());
|
||||||
} catch (e) {
|
} catch (e, st) {
|
||||||
_completer.completeError(e);
|
_completer.completeError(e, st);
|
||||||
} finally {
|
} finally {
|
||||||
onComplete?.call();
|
onComplete?.call();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user