Cleanup transform listeners properly now.
This commit is contained in:
parent
98b3b44ed5
commit
1d94455c1a
@ -351,6 +351,7 @@ export class AbstractScatter extends Throwable {
|
||||
}
|
||||
|
||||
close() {
|
||||
console.log('SCATTER WAS CLOSED!')
|
||||
this._callCloseCallbacks()
|
||||
this._removeCallbacks()
|
||||
this._removeSelfFromScatterContainer()
|
||||
@ -364,6 +365,7 @@ export class AbstractScatter extends Throwable {
|
||||
|
||||
_removeCallbacks() {
|
||||
this.onClose = []
|
||||
this.onTransform = []
|
||||
}
|
||||
|
||||
_removeSelfFromScatterContainer() {
|
||||
|
Loading…
Reference in New Issue
Block a user