]> Nishi Git Mirror - gwion.git/commitdiff
:bug: Fix segfault add exit fix some thread plugins
authorJérémie Astor <fennecdjay@gmail.com>
Wed, 27 Apr 2022 11:36:20 +0000 (13:36 +0200)
committerJérémie Astor <fennecdjay@gmail.com>
Wed, 27 Apr 2022 11:36:20 +0000 (13:36 +0200)
src/main.c

index 61eda482e2265abcc5e548d7a5d1942c59df6ff6..0a78f51e5519576e77a2f8e92a1edce7e78ad378 100644 (file)
@@ -49,10 +49,7 @@ int main(int argc, char **argv) {
   if (ini > 0) gwion_run(&gwion);
   gwion_end(&gwion);
   gwion.vm = NULL;
-#ifndef BUILD_ON_WINDOWS
-  pthread_exit(NULL);
-#endif
-  return EXIT_SUCCESS;
+  exit(EXIT_SUCCESS);
 }
 
 #endif