Skip to content

Commit

Permalink
fix: still need to call initialize
Browse files Browse the repository at this point in the history
  • Loading branch information
ksqsf committed Dec 15, 2024
1 parent cee70b6 commit a0227cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rime.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ Rime::Rime(fs::path source_dir,
traits.staging_dir = staging_dir.c_str();
if (!rime_initialized.load()) {
api->setup(&traits);
api->initialize(NULL);
rime_initialized.store(true);
}
api->initialize(NULL);
if (deploy_now && api->start_maintenance(/* full_check */ true))
api->join_maintenance_thread();
}
Expand Down

0 comments on commit a0227cb

Please sign in to comment.