From f9b063ae823af79b2d9157c7a14cd8ea9db55e4c Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Astor?= Date: Wed, 27 Apr 2022 13:36:20 +0200 Subject: [PATCH] :bug: Fix segfault add exit fix some thread plugins --- src/main.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/main.c b/src/main.c index 61eda482..0a78f51e 100644 --- a/src/main.c +++ b/src/main.c @@ -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 -- 2.43.0