Reordered destroy method calls

This commit is contained in:
Pavle Goloskokovic 2018-01-04 19:39:21 +01:00
parent 03187ae8b5
commit 5790fe9a4f

View file

@ -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