Unverified Commit 78de12b8 authored by Christopher Fujino's avatar Christopher Fujino Committed by GitHub

[flutter_tools] Fix bug in background_isolate_test.dart (#97170)

parent 55e8a2cd
......@@ -50,7 +50,7 @@ void main() {
project.updateTestIsolatePhrase(newBackgroundMessage);
await flutter.hotRestart();
await sawBackgroundMessage.future;
await sawNewBackgroundMessage.future;
// Wait a tiny amount of time in case we did not kill the background isolate.
await Future<void>.delayed(const Duration(milliseconds: 10));
await subscription.cancel();
......
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