Commit bc5d4074 authored by Devon Carew's avatar Devon Carew

fix an issue where the refresh benchmark would overwrite a completer (#4315)

parent 6d4fd850
......@@ -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)
......
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