mirror of
https://github.com/photonstorm/phaser
synced 2025-02-17 06:28:30 +00:00
Reordered destroy method calls
This commit is contained in:
parent
03187ae8b5
commit
5790fe9a4f
1 changed files with 2 additions and 2 deletions
|
@ -291,14 +291,14 @@ var BaseSound = new Class({
|
|||
this.pendingRemove = true;
|
||||
this.manager = null;
|
||||
this.key = '';
|
||||
this.events.destroy();
|
||||
this.events = null;
|
||||
this.isPlaying = false;
|
||||
this.isPaused = false;
|
||||
this.config = null;
|
||||
this.currentConfig = null;
|
||||
this.markers = null;
|
||||
this.currentMarker = null;
|
||||
this.events.destroy();
|
||||
this.events = null;
|
||||
},
|
||||
/**
|
||||
* @protected
|
||||
|
|
Loading…
Add table
Reference in a new issue