Fix process interactive (#2855)
* Added 1 extra check in the procesInteractive to check if children exists before attempting to call children.length
this would've thrown an error if you remove stuff in an onMouseClick for example.

* smaller diff maybe

* changed remark

* Better and faster fix
set interactive and interactiveChildren to false on the DisplayObject.destroy()
this way no extra check is needed in the processInteractive function.
1 parent e985fb9 commit 2fb1caecb8e67e45aa24b0b081cb77daedd7028d
@Martijn Croezen Martijn Croezen authored on 25 Aug 2016
Mat Groves committed on 25 Aug 2016
Showing 1 changed file
View
src/core/display/DisplayObject.js