From 471c2c17560e19dc7118fcf787b1f431054aec4c Mon Sep 17 00:00:00 2001 From: tqcq <99722391+tqcq@users.noreply.github.com> Date: Thu, 6 Mar 2025 17:20:06 +0800 Subject: [PATCH] fix reinit --- tile/init.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tile/init.cc b/tile/init.cc index 2cc3248..8cffe7e 100644 --- a/tile/init.cc +++ b/tile/init.cc @@ -139,7 +139,7 @@ void Init(int argc, char **argv, std::function cb) { std::unique_lock _(init_lock); - assert(lib_thread && "ReInitialize!!!"); + assert(!lib_thread && "ReInitialize!!!"); const char *my_argv[1] = {"unknown"}; if (!argv) {