@tmagic/editor 1.5.8 → 1.5.9

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.
@@ -14009,7 +14009,6 @@ class Dep extends BaseService {
14009
14009
  return super.once(eventName, listener);
14010
14010
  }
14011
14011
  reset() {
14012
- this.idleTask.removeAllListeners();
14013
14012
  this.idleTask.clearTasks();
14014
14013
  for (const type of Object.keys(this.watcher.getTargetsList())) {
14015
14014
  this.removeTargets(type);
@@ -14017,6 +14016,7 @@ class Dep extends BaseService {
14017
14016
  this.set("collecting", false);
14018
14017
  }
14019
14018
  destroy() {
14019
+ this.idleTask.removeAllListeners();
14020
14020
  this.removeAllListeners();
14021
14021
  this.reset();
14022
14022
  this.removeAllPlugins();
@@ -18896,7 +18896,6 @@
18896
18896
  return super.once(eventName, listener);
18897
18897
  }
18898
18898
  reset() {
18899
- this.idleTask.removeAllListeners();
18900
18899
  this.idleTask.clearTasks();
18901
18900
  for (const type of Object.keys(this.watcher.getTargetsList())) {
18902
18901
  this.removeTargets(type);
@@ -18904,6 +18903,7 @@
18904
18903
  this.set("collecting", false);
18905
18904
  }
18906
18905
  destroy() {
18906
+ this.idleTask.removeAllListeners();
18907
18907
  this.removeAllListeners();
18908
18908
  this.reset();
18909
18909
  this.removeAllPlugins();
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.5.8",
2
+ "version": "1.5.9",
3
3
  "name": "@tmagic/editor",
4
4
  "type": "module",
5
5
  "sideEffects": [
@@ -58,11 +58,11 @@
58
58
  "moveable": "^0.53.0",
59
59
  "serialize-javascript": "^6.0.0",
60
60
  "sortablejs": "^1.15.2",
61
- "@tmagic/design": "1.5.8",
62
- "@tmagic/form": "1.5.8",
63
- "@tmagic/table": "1.5.8",
64
- "@tmagic/utils": "1.5.8",
65
- "@tmagic/stage": "1.5.8"
61
+ "@tmagic/design": "1.5.9",
62
+ "@tmagic/form": "1.5.9",
63
+ "@tmagic/stage": "1.5.9",
64
+ "@tmagic/utils": "1.5.9",
65
+ "@tmagic/table": "1.5.9"
66
66
  },
67
67
  "devDependencies": {
68
68
  "@types/events": "^3.0.0",
@@ -76,7 +76,7 @@
76
76
  "monaco-editor": "^0.48.0",
77
77
  "typescript": "*",
78
78
  "vue": ">=3.5.0",
79
- "@tmagic/core": "1.5.8"
79
+ "@tmagic/core": "1.5.9"
80
80
  },
81
81
  "peerDependenciesMeta": {
82
82
  "typescript": {
@@ -191,7 +191,6 @@ class Dep extends BaseService {
191
191
  }
192
192
 
193
193
  public reset() {
194
- this.idleTask.removeAllListeners();
195
194
  this.idleTask.clearTasks();
196
195
 
197
196
  for (const type of Object.keys(this.watcher.getTargetsList())) {
@@ -202,6 +201,8 @@ class Dep extends BaseService {
202
201
  }
203
202
 
204
203
  public destroy() {
204
+ this.idleTask.removeAllListeners();
205
+
205
206
  this.removeAllListeners();
206
207
  this.reset();
207
208
  this.removeAllPlugins();