From fbfc7d0d0ba191ceb4e2260f776cbbc41322240d Mon Sep 17 00:00:00 2001 From: Beef Date: Sat, 15 Apr 2023 01:46:33 +0100 Subject: [PATCH] [SafeMode] Reload was being unreliable for me, so add a timeout of 400ms --- src/lib/debug.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/debug.ts b/src/lib/debug.ts index 2d7d24a..ce83a37 100644 --- a/src/lib/debug.ts +++ b/src/lib/debug.ts @@ -19,7 +19,7 @@ export async function toggleSafeMode() { await selectTheme(settings.safeMode?.currentThemeId); } } - setTimeout(BundleUpdaterManager.reload); + setTimeout(BundleUpdaterManager.reload, 400); } export function connectToDebugger(url: string) {