diff --git a/packages/frontend/src/init.ts b/packages/frontend/src/init.ts index 0a626b36c6..a2dff87e8e 100644 --- a/packages/frontend/src/init.ts +++ b/packages/frontend/src/init.ts @@ -343,7 +343,9 @@ stream.on('_disconnected_', async () => { }); for (const plugin of ColdDeviceStorage.get('plugins').filter(p => p.active)) { - import('./plugin').then(({ install }) => { + import('./plugin').then(async ({ install }) => { + // Workaround for https://bugs.webkit.org/show_bug.cgi?id=242740 + await new Promise(r => setTimeout(r, 0)); install(plugin); }); }