Cleanup transform listeners properly now.

This commit is contained in:
2019-08-12 16:35:10 +02:00
parent 98b3b44ed5
commit 1d94455c1a
+2
View File
@@ -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() {