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
NWJS Version : 0.49.0
Operating System : Windows 10
I recently tried upgrading my app from v0.28 to v0.49.
In this app I open a second window behind the main window to do some capture.
I listen to the 'loaded' event on the window to wait before doing the capture.
Then I call removeAllListeners('loaded') to stop listening to this event but I still receive the event with new version after that.
Expected behavior
Should not receive 'loaded' event after calling removeAllListeners('loaded')
Actual behavior
'loaded' event still received after calling removeAllListeners('loaded')
NWJS Version : 0.49.0
Operating System : Windows 10
I recently tried upgrading my app from v0.28 to v0.49.
In this app I open a second window behind the main window to do some capture.
I listen to the 'loaded' event on the window to wait before doing the capture.
Then I call removeAllListeners('loaded') to stop listening to this event but I still receive the event with new version after that.
Expected behavior
Should not receive 'loaded' event after calling removeAllListeners('loaded')
Actual behavior
'loaded' event still received after calling removeAllListeners('loaded')
How to reproduce
Output
Output
Workaround
Use window.once('loaded') instead of window.on('loaded').
The text was updated successfully, but these errors were encountered: