diff --git a/src/lib/plugins.ts b/src/lib/plugins.ts index 9f5f410..9d7d7e3 100644 --- a/src/lib/plugins.ts +++ b/src/lib/plugins.ts @@ -120,6 +120,6 @@ export async function initPlugins() { return stopAllPlugins; } -const stopAllPlugins = () => Object.keys(plugins).forEach(p => stopPlugin(p, false)); +const stopAllPlugins = () => Object.keys(loadedPlugins).forEach(p => stopPlugin(p, false)); export const getSettings = (id: string) => loadedPlugins[id]?.settings; \ No newline at end of file