diff --git a/src/components/Editor.vue b/src/components/Editor.vue index 0775f0ceef..21521a92de 100644 --- a/src/components/Editor.vue +++ b/src/components/Editor.vue @@ -367,6 +367,8 @@ export default { this.listenSyncServiceEvents() + this.$providers.forEach(p => p?.destroy()) + this.$providers = [] const syncServiceProvider = createSyncServiceProvider({ ydoc: this.$ydoc, syncService: this.$syncService,