You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
with --disable-features=nw2 argument, I am able to get the string quit passed in the callback as per the documentation here when cmd + q is pressed http://docs.nwjs.io/en/latest/References/Window/#event-close
Also the app doesn't quit or crash, when the following code is executed in developer tools
When the above code is executed in the developer tools.
cmd + Q is pressed , the flag in the callback is undefined and the app crashes. Few processes are still running in the activity monitor. Need to force quit the application to completely close.
How to reproduce
Download the sdk version (nwjs-sdk-v0.43.0-osx-x64.zip), in the above mentioned nightly build. In the developer tools, execute the following code:
Press cmd + Q.
The app crashes. The file has undefined written in it instead of quit.
The text was updated successfully, but these errors were encountered:
nvedamurthy
changed the title
nw2: window.on('close') crash and missing callback string during cmd + q (OSX)
nw2: window.on('close') crash and missing callback string during cmd + Q (OSX)
Dec 10, 2019
#7230
NWJS Version : nightly build 0.43.0 built on 12/10/2019 - https://dl.nwjs.io/live-build/nw43/20191210-162000/8f8b6a467/v0.43.0/
Operating System : OSX 10.15.1
Expected behavior
with
--disable-features=nw2
argument, I am able to get the stringquit
passed in the callback as per the documentation here when cmd + q is pressedhttp://docs.nwjs.io/en/latest/References/Window/#event-close
Also the app doesn't quit or crash, when the following code is executed in developer tools
Actual behavior
When the above code is executed in the developer tools.
cmd + Q is pressed , the flag in the callback is
undefined
and the app crashes. Few processes are still running in the activity monitor. Need to force quit the application to completely close.How to reproduce
Download the sdk version (nwjs-sdk-v0.43.0-osx-x64.zip), in the above mentioned nightly build. In the developer tools, execute the following code:
Press cmd + Q.
The app crashes. The file has
undefined
written in it instead ofquit
.The text was updated successfully, but these errors were encountered: