mirror of
https://github.com/postgres/postgres.git
synced 2025-05-01 01:04:50 +03:00
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].function)(code,
|
||||||
on_exit_nicely_list[i].arg);
|
on_exit_nicely_list[i].arg);
|
||||||
|
|
||||||
|
#ifdef WIN32
|
||||||
|
if (parallel_init_done && GetCurrentThreadId() != mainThreadId)
|
||||||
|
ExitThread(code);
|
||||||
|
#endif
|
||||||
|
|
||||||
exit(code);
|
exit(code);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user