Put back code inadvertently deleted from exit_nicely.
Report by Andrew Dunstan.
This commit is contained in:
parent
05261ab624
commit
662ca285a6
@ -1332,5 +1332,10 @@ exit_nicely(int code)
|
||||
(*on_exit_nicely_list[i].function)(code,
|
||||
on_exit_nicely_list[i].arg);
|
||||
|
||||
#ifdef WIN32
|
||||
if (parallel_init_done && GetCurrentThreadId() != mainThreadId)
|
||||
ExitThread(code);
|
||||
#endif
|
||||
|
||||
exit(code);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user