diff --git a/squeebot.repo.json b/squeebot.repo.json index f57e8c9..16be681 100644 --- a/squeebot.repo.json +++ b/squeebot.repo.json @@ -3,11 +3,11 @@ "plugins": [ { "name": "syncplay", - "version": "1.0.1" + "version": "1.0.2" }, { "name": "syncplaystatus", - "version": "1.0.0" + "version": "1.0.2" } ], "typescript": true diff --git a/syncplay/plugin.json b/syncplay/plugin.json index 8cead3e..b3a9c13 100644 --- a/syncplay/plugin.json +++ b/syncplay/plugin.json @@ -2,7 +2,7 @@ "main": "plugin.js", "name": "syncplay", "description": "Syncplay Service for Squeebot 3", - "version": "1.0.1", + "version": "1.0.2", "tags": ["service", "syncplay"], "dependencies": ["control?"], "npmDependencies": [] diff --git a/syncplay/plugin.ts b/syncplay/plugin.ts index 7510c42..a6835d4 100644 --- a/syncplay/plugin.ts +++ b/syncplay/plugin.ts @@ -362,9 +362,8 @@ class SyncplayServicePlugin extends Plugin { @EventListener('pluginUnload') public unloadEventHandler(plugin: string | Plugin): void { if (plugin === this.name || plugin === this) { - this.config.save().then(() => - this.service?.stopAll().then(() => - this.emit('pluginUnloaded', this))); + this.service?.stopAll().then(() => + this.emit('pluginUnloaded', this)); } } } diff --git a/syncplaystatus/plugin.json b/syncplaystatus/plugin.json index 0b7b91f..4766a6e 100644 --- a/syncplaystatus/plugin.json +++ b/syncplaystatus/plugin.json @@ -2,7 +2,7 @@ "main": "plugin.js", "name": "syncplaystatus", "description": "Display status of a Syncplay protocol connection", - "version": "1.0.0", + "version": "1.0.2", "tags": ["syncplay", "commands", "status"], "dependencies": ["syncplay", "simplecommands"], "npmDependencies": [] diff --git a/syncplaystatus/plugin.ts b/syncplaystatus/plugin.ts index df1a1ba..604479d 100644 --- a/syncplaystatus/plugin.ts +++ b/syncplaystatus/plugin.ts @@ -31,8 +31,7 @@ class SPSPlugin extends Plugin { @EventListener('pluginUnload') public unloadEventHandler(plugin: string | Plugin): void { if (plugin === this.name || plugin === this) { - this.config.save().then(() => - this.emit('pluginUnloaded', this)); + this.emit('pluginUnloaded', this); } }