widget: remove some dangling handlers

This commit is contained in:
jean-emmanuel 2022-01-12 14:54:24 +01:00
parent 24db0ed984
commit 3c6a0a047b

View file

@ -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()