1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-04 02:09:37 +02:00

Add setting helper to client plugins

This commit is contained in:
Chocobozzz 2019-07-25 19:02:54 +02:00
parent a1758df8a3
commit 23bdacf8ec
No known key found for this signature in database
GPG key ID: 583A612D890159BE
8 changed files with 74 additions and 35 deletions

View file

@ -151,6 +151,7 @@ export class PluginManager implements ServerHook {
}
delete this.registeredPlugins[plugin.npmName]
delete this.settings[plugin.npmName]
if (plugin.type === PluginType.PLUGIN) {
await plugin.unregister()