clone refactor: missing onremove unbind
This commit is contained in:
parent
5da4c6475b
commit
4c34c7d50b
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