diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2022-10-27 19:02:25 +0200 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2022-10-27 19:02:25 +0200 |
| commit | 9289b29504660641d1abc0ded29fc2c04eca70ba (patch) | |
| tree | 6f628ce27eaee7f6ed1e85657cd8648a802dcbbb /src/main.c | |
| parent | de115b87df9eab6887c736cb93013aae7c53103c (diff) | |
| download | box64-9289b29504660641d1abc0ded29fc2c04eca70ba.tar.gz box64-9289b29504660641d1abc0ded29fc2c04eca70ba.zip | |
Try to get a cleaner exit
Diffstat (limited to 'src/main.c')
| -rwxr-xr-x | src/main.c | 2 |
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) { |