diff options
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) { |