From: Jérémie Astor Date: Sat, 23 Apr 2022 13:17:27 +0000 (+0200) Subject: :bug: Fix signal X-Git-Tag: nightly~275^2~49 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=6ac9c3ecaa1e21e5055156f3ed2aab9bbd8d6af2;p=gwion.git :bug: Fix signal --- diff --git a/src/main.c b/src/main.c index 1811e9dc..61eda482 100644 --- a/src/main.c +++ b/src/main.c @@ -48,6 +48,7 @@ int main(int argc, char **argv) { arg_release(&arg); if (ini > 0) gwion_run(&gwion); gwion_end(&gwion); + gwion.vm = NULL; #ifndef BUILD_ON_WINDOWS pthread_exit(NULL); #endif