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 7 64) 0.7.0 nw.exe still in memory after using a "close/quit" command #984
Comments
@naelian What do you mean by |
@kingFighter, yes Construct 2 build the code and seems sending a window "nwgui App quit" ... then one nw.exe process is not kill when i force exiting AND a sound/music is playing ... you can find a example here (http://db.tt/Lrm35wUI), on this screensaver project click on the window to force exit and reproduce the bug |
@naelian I tried and I can reproduce it with |
Yes i say "close" because Construct2 command is "Browser.close" generating a gui.App.quit ... the most important is to have a unique and clean way to quit nw without having to click on close button in a frame window ... using gui.App.quit seems to be no more this clean way ... |
Not fix In 0.7.1 ... same package ... same problem |
@naelian , is there any way to reproduce the bug with some simple codes instead of your project? Maybe you could provide the whole process to reproduce it? I cannot reproduce it just using |
@richardcypher, sorry i can't provide you something more simple to reproduce this bug. My link package is not minified so you can edit it and search "close", that will give you the syntax use to exit nw. I can just say you that it's happening when a sound is played and gui.App.quit use to exit ... (mixer probably not close using gui.App.quit as rogerwang said) and so the nw.exe process isn't killed. Following Kingfighter advice i test changing the App.quit to regular window.close() and it's working well ... but as i use a code builder (Construct 2 Scirra), i can't change this line everytime i rebuild my package. I'm pretty sure that Scirra use this gui.App.quit instead of window.close() because it was more reliable with older releases of nw (0.6.X) ... i just need to know the real clean method to use working on all platform so i can ask for a change in Scirra code builder. |
@naelian , I want to add a test case for this bug, is it ok to use the code you provided? |
fixed again with this commit b67a7d8 |
@richardcypher, no problem you can use code provided |
@naelian ok, thanks |
Everything is ok using the quit "button" but not using the close command ... it's very important for fullscreen projects and was working fine in previous 0.6x release.
=> I test this new nw release into Construct2 (Scirra)
please delete and sorry for this bug reporting twice
The text was updated successfully, but these errors were encountered: