about summary refs log tree commit diff stats
path: root/src/main.c
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2022-10-27 19:02:25 +0200
committerptitSeb <sebastien.chev@gmail.com>2022-10-27 19:02:25 +0200
commit9289b29504660641d1abc0ded29fc2c04eca70ba (patch)
tree6f628ce27eaee7f6ed1e85657cd8648a802dcbbb /src/main.c
parentde115b87df9eab6887c736cb93013aae7c53103c (diff)
downloadbox64-9289b29504660641d1abc0ded29fc2c04eca70ba.tar.gz
box64-9289b29504660641d1abc0ded29fc2c04eca70ba.zip
Try to get a cleaner exit
Diffstat (limited to 'src/main.c')
-rwxr-xr-xsrc/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index dcd5d92c..858c6ec9 100755
--- a/src/main.c
+++ b/src/main.c
@@ -988,6 +988,7 @@ void endBox64()
     #endif
     FreeLibrarian(&my_context->local_maplib, emu);    // unload all libs
     FreeLibrarian(&my_context->maplib, emu);    // unload all libs
+    #if 0
     // waiting for all thread except this one to finish
     int this_thread = GetTID();
     int pid = getpid();
@@ -1025,6 +1026,7 @@ void endBox64()
             closedir(proc_dir);
         }
     }
+    #endif
     // all done, free context
     FreeBox64Context(&my_context);
     if(libGL) {