mirror of
https://github.com/wassname/phaser.git
synced 2026-07-02 17:00:42 +08:00
Loads of issues reported on Github resolved (sprite crop, music resume, etc).
This commit is contained in:
@@ -426,6 +426,10 @@ Phaser.Game.prototype = {
|
||||
*/
|
||||
destroy: function () {
|
||||
|
||||
this.raf.stop();
|
||||
|
||||
this.input.destroy();
|
||||
|
||||
this.state.destroy();
|
||||
|
||||
this.state = null;
|
||||
|
||||
Reference in New Issue
Block a user