mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
make finalizeInit blocking just to be sure
This commit is contained in:
@@ -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');
|
||||||
|
Reference in New Issue
Block a user