From fa15187c2c2d72f354198cd18e80db083dc73e41 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 11 Dec 2025 15:04:42 +0100 Subject: [PATCH] client: extra safe chunk loading before notifying server --- src/client/ipc/index.mjs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/client/ipc/index.mjs b/src/client/ipc/index.mjs index b702384d..ae8d7c7b 100644 --- a/src/client/ipc/index.mjs +++ b/src/client/ipc/index.mjs @@ -9,6 +9,11 @@ var loadDeps = (async()=>{ notifications = (await import('../ui/notifications.mjs')).default locales = (await import('../locales/index.mjs')).default callbacks = (await import('./callbacks.mjs')).default + + // wait for other js chunks too since we'll connect to the server once this provise resolves + await import('../editor/context-menu.mjs') + await import('../remote-control.mjs') + await import('../ui/ui-keyboard.mjs') })() var uuid, localUuid = ENV.id || cache.get('osc.uuid', false)