Skip to content

Conversation

@jonahwilliams
Copy link
Contributor

Description

Try and prevent case where _cleanup might be called twice (timing sensitive). Remove stray debug print and indentation fix in chrome.dart/

@jonahwilliams jonahwilliams added the platform-web Web applications specifically label Sep 3, 2019
@fluttergithubbot fluttergithubbot added the tool Affects the "flutter" command-line tool. See also t: labels. label Sep 3, 2019
@codecov
Copy link

codecov bot commented Sep 3, 2019

Codecov Report

Merging #39751 into master will decrease coverage by 0.42%.
The diff coverage is 87.5%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #39751      +/-   ##
==========================================
- Coverage   57.23%   56.81%   -0.43%     
==========================================
  Files         194      194              
  Lines       18685    18686       +1     
==========================================
- Hits        10695    10616      -79     
- Misses       7990     8070      +80
Flag Coverage Δ
#flutter_tool 56.81% <87.5%> (-0.43%) ⬇️
Impacted Files Coverage Δ
...ools/lib/src/build_runner/resident_web_runner.dart 75.73% <100%> (+5.58%) ⬆️
packages/flutter_tools/lib/src/web/chrome.dart 51.51% <83.33%> (+0.76%) ⬆️
packages/flutter_tools/lib/src/android/gradle.dart 23.5% <0%> (-38.89%) ⬇️
...ckages/flutter_tools/lib/src/commands/upgrade.dart 25.28% <0%> (-9.2%) ⬇️
...kages/flutter_tools/lib/src/intellij/intellij.dart 93.1% <0%> (-6.9%) ⬇️
packages/flutter_tools/lib/src/base/os.dart 28.22% <0%> (-4.84%) ⬇️
packages/flutter_tools/lib/src/build_info.dart 70.49% <0%> (-3.28%) ⬇️
packages/flutter_tools/lib/src/version.dart 90.9% <0%> (-1.92%) ⬇️
packages/flutter_tools/lib/src/cache.dart 45.31% <0%> (-0.67%) ⬇️
packages/flutter_tools/lib/src/base/logger.dart 82.06% <0%> (-0.39%) ⬇️
... and 13 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c8af729...fbfc5dc. Read the comment docs.

await chrome.chromeConnection.getTabs();
} catch (e) {
await chrome.close();
print('here');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should've been "Jonah was here" 😛

await connectionInfoCompleter.future;

await residentWebRunner.exit();
await residentWebRunner.exit();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe a comment line above explaining what might be unsafe about it?

@jonahwilliams jonahwilliams merged commit cc9b614 into flutter:master Sep 3, 2019
@jonahwilliams jonahwilliams deleted the fix_stream_handling branch September 3, 2019 18:20
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 4, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

platform-web Web applications specifically tool Affects the "flutter" command-line tool. See also t: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants