From ff856c71486f534c87ef2fb340ce8c75e0c07b72 Mon Sep 17 00:00:00 2001 From: AAGaming Date: Sun, 28 Jul 2024 18:46:37 -0400 Subject: wait a bit before loading plugins to avoid race conditions --- frontend/src/plugin-loader.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/src/plugin-loader.tsx b/frontend/src/plugin-loader.tsx index e7179e0a..2a46ca1e 100644 --- a/frontend/src/plugin-loader.tsx +++ b/frontend/src/plugin-loader.tsx @@ -166,6 +166,7 @@ class PluginLoader extends Logger { this.initPluginBackendAPI(); Promise.all([this.getUserInfo(), this.updateVersion()]) + .then(() => sleep(500)) .then(() => this.loadPlugins()) .then(() => this.checkPluginUpdates()) .then(() => this.log('Initialized')); -- cgit v1.2.3