Destroying a DisplayObject will remove itself (#2809)
* Destroying a DisplayObject will remove itself

* Container removes children before destroying

* Fixed destroy order

* Removes extra whitespace

* Updates with Ivan's suggestion for Container destroy

* Removes listeners when destroying

* More verbose destroy comments

* Typo
1 parent 4cbe7cf commit 19b832207e51fb0cf5273b3894f0770a556e3bde
@Matt Karl Matt Karl authored on 15 Aug 2016
Mat Groves committed on 15 Aug 2016
Showing 2 changed files
View
src/core/display/Container.js
View
src/core/display/DisplayObject.js