Skip to content
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

Quit after closing DevTools #20

Open
mattdesl opened this issue Jul 29, 2015 · 0 comments
Open

Quit after closing DevTools #20

mattdesl opened this issue Jul 29, 2015 · 0 comments

Comments

@mattdesl
Copy link
Collaborator

Currently, if you close the DevTools window, the process continues to run since the main browser window (by default, 0x0 in size) is still showing.

I can hook into the following to determine when the DevTools window is closed, although it should only be done when the user does not specify a --frame size.

mainWindow.once('devtools-closed', quitHihat)

Adding this line causes problems on OSX when node-integration: false (causes Electron to crash). It also causes issues on Ubuntu, see #19.

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

No branches or pull requests

1 participant