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
When attempting to destroy a Phaser game instance (v2.4.6), I am seeing errors appear due to the _onMouseOutGlobal event being called after the game is destroyed. Looking at the source code I see the Phaser.Mouse.start method adds the following event listeners:
When attempting to destroy a Phaser game instance (v2.4.6), I am seeing errors appear due to the _onMouseOutGlobal event being called after the game is destroyed. Looking at the source code I see the
Phaser.Mouse.start
method adds the following event listeners:Looking at the
Phaser.Mouse.stop
method, I see that only _onMouseUpGlobal is unregistered:The following line must also be added:
The text was updated successfully, but these errors were encountered: