diff options
| author | AAGaming <aagaming@riseup.net> | 2024-07-28 18:46:37 -0400 |
|---|---|---|
| committer | AAGaming <aagaming@riseup.net> | 2024-08-03 14:04:21 -0400 |
| commit | ff856c71486f534c87ef2fb340ce8c75e0c07b72 (patch) | |
| tree | 27d63ff155e561409133f2b45be262f357feecaf /frontend/src/plugin-loader.tsx | |
| parent | 62293d23165d43b93f1b14a748286d9fb389522b (diff) | |
| download | decky-loader-ff856c71486f534c87ef2fb340ce8c75e0c07b72.tar.gz decky-loader-ff856c71486f534c87ef2fb340ce8c75e0c07b72.zip | |
wait a bit before loading plugins to avoid race conditions
Diffstat (limited to 'frontend/src/plugin-loader.tsx')
| -rw-r--r-- | frontend/src/plugin-loader.tsx | 1 |
1 files changed, 1 insertions, 0 deletions
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')); |
