aboutsummaryrefslogtreecommitdiff
path: root/featureClass/featureManager.js
diff options
context:
space:
mode:
Diffstat (limited to 'featureClass/featureManager.js')
-rw-r--r--featureClass/featureManager.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/featureClass/featureManager.js b/featureClass/featureManager.js
index ad67c7f..abfdd0d 100644
--- a/featureClass/featureManager.js
+++ b/featureClass/featureManager.js
@@ -469,6 +469,7 @@ class FeatureManager {
}
unregisterForge(event) {
+ if (!this.forgeEvents[event.id]) return
unregisterForgeBase(this.forgeEvents[event.id].trigger)
delete this.forgeEvents[event.id]
}