@forcecalendar/core 1.0.6 → 1.1.0
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.
|
@@ -736,8 +736,8 @@ export class Calendar {
|
|
|
736
736
|
// Clear all listeners
|
|
737
737
|
this.listeners.clear();
|
|
738
738
|
|
|
739
|
-
//
|
|
740
|
-
this.eventStore.
|
|
739
|
+
// Properly destroy EventStore (clears events, caches, and cleanup timers)
|
|
740
|
+
this.eventStore.destroy();
|
|
741
741
|
|
|
742
742
|
// Clear plugins
|
|
743
743
|
this.plugins.forEach(plugin => {
|
|
@@ -747,6 +747,9 @@ export class Calendar {
|
|
|
747
747
|
});
|
|
748
748
|
this.plugins.clear();
|
|
749
749
|
|
|
750
|
+
// Clear view instances
|
|
751
|
+
this.views.clear();
|
|
752
|
+
|
|
750
753
|
this._emit('destroy');
|
|
751
754
|
}
|
|
752
755
|
}// Test workflow
|