[SafeMode] Reload was being unreliable for me, so add a timeout of 400ms

This commit is contained in:
Beef 2023-04-15 01:46:33 +01:00
parent 4d68c112bc
commit fbfc7d0d0b

View file

@ -19,7 +19,7 @@ export async function toggleSafeMode() {
await selectTheme(settings.safeMode?.currentThemeId); await selectTheme(settings.safeMode?.currentThemeId);
} }
} }
setTimeout(BundleUpdaterManager.reload); setTimeout(BundleUpdaterManager.reload, 400);
} }
export function connectToDebugger(url: string) { export function connectToDebugger(url: string) {