I updated NW.js to version v0.49.0, to compile with the latest enhancements.
However, my compiled game works normally until I press the exit button, which is when the game crashes.
The Main Menu image remains on the screen but the menu buttons do not work. Alt + F4 doesn't work either, having to close the game after pressing Control + Alt + Del.
I had to go back to v0.45.0 and recompile to make it works properly.
PS: In the editor it works fine with both versions.