Skip to content

Commit

Permalink
Bug fix: cannot dereference uninitialized value
Browse files Browse the repository at this point in the history
  • Loading branch information
iewnfod committed Dec 29, 2023
1 parent e412106 commit 5c89fdf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src-tauri/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,8 @@ fn toggle_settings(name: String) {
}

fn main() {
unsafe { BINDING.init() };

config::init();
load_binding();

Expand Down

0 comments on commit 5c89fdf

Please sign in to comment.