wgge 2.0.15 → 2.0.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -116,13 +116,13 @@ export default class ObjectModel extends ModelBase {
|
|
|
116
116
|
* Not calling this when object is meant to be destroyed might lead to memory leaks e.g. when using NullableNode
|
|
117
117
|
*/
|
|
118
118
|
dispose() {
|
|
119
|
-
this.eventManager.reset();
|
|
120
119
|
this.properties.forEach(
|
|
121
120
|
(prop) => {
|
|
122
121
|
if (typeof prop.dispose === 'function') prop.dispose();
|
|
123
122
|
}
|
|
124
123
|
);
|
|
125
124
|
this.properties.reset();
|
|
125
|
+
this.eventManager.reset();
|
|
126
126
|
}
|
|
127
127
|
|
|
128
128
|
}
|