clone refactor: missing onremove unbind

This commit is contained in:
jean-emmanuel 2018-10-18 12:46:15 +02:00
parent 5cc5212b50
commit f1294ff575

View file

@ -267,10 +267,7 @@ class Clone extends Container {
onRemove(){
if (this.cloneTarget) {
this.cloneTarget.removeEventContext(this)
}
this.unbindTarget()
super.onRemove()
}