I wrote a short test app, to count the duration in seconds from pressing a start button. The app runs in node webkit. Upon closing the browser window, i expected the on layout end to trigger, as per manual. However, the event does not get triggered.
I am including a link to the test project: https://dl.dropboxusercontent.com/u/102 ... Close.capx
is this a know issue?
Develop games in your browser. Powerful, performant & highly capable.
I don't think it triggers when closing a browser tab either, so this would be by design and not specific to node-webkit.
I guess its a bit ambiguous in the manual:
"Start & end
On end of layout
Triggered when the layout is ending. This can happen when the project goes to a different layout or when the project closes."
I guess it depends what project closing means.