Merge pull request 'fix reinit' (#4) from fix/reinit into develop
All checks were successful
android / build (arm64-v8a) (push) Successful in 5m51s
android / build (armeabi-v7a) (push) Successful in 5m49s
android / build (x86) (push) Successful in 4m44s
android / build (x86_64) (push) Successful in 5m14s
linux-aarch64-cpu-gcc / linux-gcc-aarch64 (Debug) (push) Successful in 15m34s
linux-aarch64-cpu-gcc / linux-gcc-aarch64 (Release) (push) Successful in 15m52s
linux-arm-gcc / linux-gcc-arm (Release) (push) Successful in 14m16s
linux-arm-gcc / linux-gcc-arm (Debug) (push) Successful in 15m20s
linux-arm-gcc / linux-gcc-armhf (Release) (push) Successful in 13m27s
linux-arm-gcc / linux-gcc-armhf (Debug) (push) Successful in 15m44s
linux-mips-gcc / linux-gcc-mipsel (Release) (push) Successful in 15m21s
linux-mips-gcc / linux-gcc-mipsel (Debug) (push) Successful in 15m44s
linux-mips64-gcc / linux-gcc-mips64el (Debug) (push) Successful in 15m23s
linux-mips64-gcc / linux-gcc-mips64el (Release) (push) Successful in 15m6s
linux-riscv64-gcc / linux-gcc-riscv64 (Release) (push) Successful in 15m52s
linux-riscv64-gcc / linux-gcc-riscv64 (Debug) (push) Successful in 17m13s
linux-x64-clang / linux-clang (Debug) (push) Successful in 10m7s
linux-x64-clang / linux-clang (Release) (push) Successful in 10m36s
linux-x64-gcc / linux-gcc (Debug) (push) Successful in 13m9s
linux-x64-gcc / linux-gcc (Release) (push) Successful in 13m25s
linux-x86-gcc / linux-gcc (Release) (push) Successful in 14m7s
linux-x86-gcc / linux-gcc (Debug) (push) Successful in 14m17s

Reviewed-on: #4
This commit is contained in:
tqcq 2025-03-06 09:21:03 +00:00
commit 86f52567b7

View File

@ -139,7 +139,7 @@ void
Init(int argc, char **argv, std::function<int(int, char **)> cb)
{
std::unique_lock<std::mutex> _(init_lock);
assert(lib_thread && "ReInitialize!!!");
assert(!lib_thread && "ReInitialize!!!");
const char *my_argv[1] = {"unknown"};
if (!argv) {