widget: remove some dangling handlers
This commit is contained in:
parent
24db0ed984
commit
3c6a0a047b
1 changed files with 4 additions and 0 deletions
|
|
@ -1246,6 +1246,10 @@ class Widget extends EventEmitter {
|
|||
|
||||
this.removed = true
|
||||
this.off('change')
|
||||
this.off('touch')
|
||||
this.off('draginit')
|
||||
this.off('drag')
|
||||
this.off('dragend')
|
||||
widgetManager.off(undefined, undefined, this)
|
||||
sessionManager.off(undefined, undefined, this)
|
||||
this.removeOscReceivers()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue