diff --git a/src-tauri/src/auto_launcher.rs b/src-tauri/src/auto_launcher.rs index 6a303230b..3dce94ba3 100644 --- a/src-tauri/src/auto_launcher.rs +++ b/src-tauri/src/auto_launcher.rs @@ -121,9 +121,10 @@ impl AutoLauncher { .await?; auto_launcher.disable()?; } - _ => {} + _ => { + auto_launcher.disable()?; + } } - auto_launcher.disable()?; } Ok(())