Skip to content

Commit

Permalink
fix: proxy not reset when app crash
Browse files Browse the repository at this point in the history
  • Loading branch information
oomeow committed Nov 3, 2024
1 parent 7581cc1 commit c6a1710
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src-tauri/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ pub fn run() -> Result<()> {
.show();

let task = std::thread::spawn(|| {
let _ = CoreManager::global().stop_core();
resolve::resolve_reset();
});
let _ = task.join();
std::process::exit(1);
Expand Down

0 comments on commit c6a1710

Please sign in to comment.