Open
Description
NWJS Version : 0.30.4
Operating System : Windows 8.1
Expected behavior
The devtools-closed
event should fire, and the main window should be closed.
Actual behavior
Nothing happens, and nothing is printed.
How to reproduce
Run this, and then close the devtools window:
<script>
const win = nw.Window.get();
win.on("devtools-closed", () => {
console.log("closing");
win.close();
});
win.showDevTools();
</script>