fix an issue where the refresh benchmark would overwrite a completer (#4315)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user