mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
fix an issue where the refresh benchmark would overwrite a completer (#4315)
This commit is contained in:
parent
6d4fd85054
commit
bc5d407477
@ -83,7 +83,7 @@ class Observatory {
|
||||
if (isolates.isNotEmpty)
|
||||
return isolates.first;
|
||||
|
||||
_waitFirstIsolateCompleter = new Completer<IsolateRef>();
|
||||
_waitFirstIsolateCompleter ??= new Completer<IsolateRef>();
|
||||
|
||||
getVM().then((VM vm) {
|
||||
for (IsolateRef isolate in vm.isolates)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user