aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--disabled.js0
-rw-r--r--featureClass/class.js7
2 files changed, 3 insertions, 4 deletions
diff --git a/disabled.js b/disabled.js
deleted file mode 100644
index e69de29..0000000
--- a/disabled.js
+++ /dev/null
diff --git a/featureClass/class.js b/featureClass/class.js
index c9977d8..c796b28 100644
--- a/featureClass/class.js
+++ b/featureClass/class.js
@@ -1,7 +1,4 @@
/// <reference types="../../CTAutocomplete" />
-
-import logger from "../logger"
-
/// <reference lib="es2015" />
class Feature {
@@ -27,7 +24,9 @@ class Feature {
_onDisable(){
Object.values(this.events).forEach(e=>this.FeatureManager.unregisterEvent(e)) //calling parent unregister to avoid the set in unregister event
Object.values(this.customEvents).forEach(e=>this.FeatureManager.unregisterCustom(e)) //calling parent unregister to avoid the set in unregister event
-
+ Object.values(this.forgeEvents).forEach(e=>this.FeatureManager.unregisterForge(e)) //calling parent unregister to avoid the set in unregister event
+ Object.values(this.soopyEvents).forEach(e=>this.FeatureManager.unregisterSoopy(e)) //calling parent unregister to avoid the set in unregister event
+
this.onDisable()
this.events = {}