Skip to content

Chrome fixes for VS code #342

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Apr 26, 2019
Merged

Chrome fixes for VS code #342

merged 6 commits into from
Apr 26, 2019

Conversation

grouma
Copy link
Member

@grouma grouma commented Apr 26, 2019

  • As suggested by the Chrome docs, always use a tmp dir when passing --remote-debugging-port
  • Add graceful exit handler for daemon command
    • This ensures that Chrome is properly closed
  • Temporary pin build_daemon version to fix integration tests
  • Fix concurrent modification issue

Closes #319
Closes #300

This reverts #322 & #316

.listen((signal) async {
cancelCount++;
daemon?.shutdown();
if (cancelCount > 1) exit(1);
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't know if 1 is actually the desired exit code? It isn't necessarily clear what it should be.

Copy link
Member Author

Choose a reason for hiding this comment

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

This is consistent with build_daemon and a couple internal tools. Gonna leave it as is.

kenzieschmoll added a commit to kenzieschmoll/browser_launcher that referenced this pull request Apr 26, 2019
@grouma grouma merged commit fab33b0 into master Apr 26, 2019
@grouma grouma deleted the vscode-fixes branch April 26, 2019 18:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

"The method 'isRequired' was called on null" on subsequent runs with daemon Sending app.stop/SIGTERM doesn't close browser
2 participants