• 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
..
android Loading commit data...
base Loading commit data...
commands Loading commit data...
data Loading commit data...
ios Loading commit data...
replay Loading commit data...
runner Loading commit data...
src Loading commit data...
analytics_test.dart Loading commit data...
application_package_test.dart Loading commit data...
artifacts_test.dart Loading commit data...
asset_bundle_test.dart Loading commit data...
base_utils_test.dart Loading commit data...
bug_report_test.dart Loading commit data...
cache_test.dart Loading commit data...
channel_test.dart Loading commit data...
config_test.dart Loading commit data...
crash_reporting_test.dart Loading commit data...
dart_dependencies_test.dart Loading commit data...
dependency_checker_test.dart Loading commit data...
devfs_test.dart Loading commit data...
device_test.dart Loading commit data...
forbidden_imports_test.dart Loading commit data...
hot_test.dart Loading commit data...
protocol_discovery_test.dart Loading commit data...
stop_test.dart Loading commit data...
trace_test.dart Loading commit data...
utils_test.dart Loading commit data...
version_test.dart Loading commit data...