Commit f9908f54 authored by Lasse R.H. Nielsen's avatar Lasse R.H. Nielsen Committed by Flutter GitHub Bot

Address extra `FutureOr` from _isolates_io.dart. (#49043)

parent 8fe35ae6
......@@ -81,7 +81,10 @@ Future<void> _spawn<Q, R>(_IsolateConfiguration<Q, FutureOr<R>> configuration) a
R result;
await Timeline.timeSync(
configuration.debugLabel,
() async { result = await configuration.apply(); },
() async {
final FutureOr<R> applicationResult = await configuration.apply();
result = await applicationResult;
},
flow: Flow.step(configuration.flowId),
);
Timeline.timeSync(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment