• Todd Volkert's avatar
    Fix race condition in protocol_discovery.dart (#10092) · 10decc7c
    Todd Volkert authored
    For some reaosn, when we discovered our URI, we were re-instantiating
    the `Completer` instance variable whose future we listen to in `nextUri()`.
    This led to a race between a caller calling `nextUri()` and us discovering
    the URI. If we happened to discover our URI before a caller called
    `nextUri()`, then they would be left waiting on a future from the newly
    allocated `Completer` (which would never complete).
    
    Fixes #10064
    10decc7c
Name
Last commit
Last update
.idea Loading commit data...
bin Loading commit data...
dev Loading commit data...
examples Loading commit data...
packages Loading commit data...
.analysis_options Loading commit data...
.analysis_options_repo Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
ISSUE_TEMPLATE.md Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
VERSION Loading commit data...
appveyor.yml Loading commit data...