make finalizeInit blocking just to be sure

This commit is contained in:
LenAnderson
2024-01-18 20:47:46 +00:00
parent 65d9c944d8
commit 9ce2771dad

View File

@@ -198,7 +198,7 @@ const init = async () => {
slash.init(); slash.init();
autoExec = new AutoExecuteHandler(settings); autoExec = new AutoExecuteHandler(settings);
eventSource.on(event_types.APP_READY, ()=>finalizeInit()); eventSource.on(event_types.APP_READY, async()=>await finalizeInit());
}; };
const finalizeInit = async () => { const finalizeInit = async () => {
log('executing startup'); log('executing startup');