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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wgge",
3
- "version": "2.0.15",
3
+ "version": "2.0.16",
4
4
  "description": "Web GL Game Engine",
5
5
  "main": "index.js",
6
6
  "devDependencies": {