-
Notifications
You must be signed in to change notification settings - Fork 15.3k
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
[Windows] close second window during "blur" event will also close the main window in Windows #3893
Labels
Comments
The main process crashed when calling
|
5 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This problem only happen in Windows platform. When I try to close a second window in its "blur" event, it will lead to close all other window which make the app quit.
I paste the sample code below for this bug. I also create a simple project to quick access the problem: https://github.com/jwu/electron-close-blur-window .
I test this in Windows 10, with electron 0.34.3 and 0.36.1. Both of them have the same problem.
The code lead to this strange thing is:
If I comment out the above code, and close the about window manually, it will not make main-window closed.
And here is the full main.js:
The text was updated successfully, but these errors were encountered: