diff options
Diffstat (limited to 'featureClass/featureManager.js')
-rw-r--r-- | featureClass/featureManager.js | 1 |
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] } |