Skip to content

Commit

Permalink
fix: prevent deadlock when resetting
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed Nov 29, 2024
1 parent 8e6d093 commit 201ba90
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/config/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1040,7 +1040,6 @@ fn reset() {
|| {
install_state::reset();
backend::reset();
Settings::reset(None);
_CONFIG.write().unwrap().take();
*GLOBAL_CONFIG_FILES.lock().unwrap() = None;
*SYSTEM_CONFIG_FILES.lock().unwrap() = None;
Expand Down

0 comments on commit 201ba90

Please sign in to comment.