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