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

window must be destroyed before electron exit #56

Merged

Conversation

emmanuelroecker
Copy link
Contributor

solve #49 and #37

@jprichardson
Copy link
Owner

Please run npm test and squash your changes.

@grantfree035
Copy link

grantfree035 commented Apr 19, 2016

@jprichardson any issues with this merge? or do you still need @emmanuelroecker to rebase?

@jprichardson jprichardson merged commit fa1673d into jprichardson:master Apr 20, 2016
@jprichardson
Copy link
Owner

Thanks, published!

@joshaber joshaber mentioned this pull request May 11, 2016
inukshuk added a commit that referenced this pull request May 12, 2016
Calling app.exit() instead of process.exist() should force close
all open windows therefore making #56 superfluous.

As discussed in #60 closing all windows lead to Electron shutting
down with exit code 0 thus breaking CI tests etc. This could be
worked around by listening for the all-windows-closed event, but
I think this is the better solution.
@inukshuk inukshuk mentioned this pull request May 12, 2016
@emmanuelroecker emmanuelroecker deleted the destroy-window-before-exit branch November 6, 2016 23:32
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.

3 participants