clone refactor: missing onremove unbind
This commit is contained in:
parent
5cc5212b50
commit
f1294ff575
1 changed files with 1 additions and 4 deletions
|
|
@ -267,10 +267,7 @@ class Clone extends Container {
|
|||
|
||||
onRemove(){
|
||||
|
||||
if (this.cloneTarget) {
|
||||
this.cloneTarget.removeEventContext(this)
|
||||
}
|
||||
|
||||
this.unbindTarget()
|
||||
super.onRemove()
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue