From a0227cbe0d5265fc6eca722f025a9b9ad279740b Mon Sep 17 00:00:00 2001 From: ksqsf Date: Sun, 15 Dec 2024 20:16:07 +0100 Subject: [PATCH] fix: still need to call initialize --- src/rime.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rime.cpp b/src/rime.cpp index c87ec9f..5e9dc40 100644 --- a/src/rime.cpp +++ b/src/rime.cpp @@ -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(); }