Skip to content

Commit 662ca28

Browse files
committed
Put back code inadvertently deleted from exit_nicely.
Report by Andrew Dunstan.
1 parent 05261ab commit 662ca28

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/bin/pg_dump/dumputils.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1332,5 +1332,10 @@ exit_nicely(int code)
13321332
(*on_exit_nicely_list[i].function)(code,
13331333
on_exit_nicely_list[i].arg);
13341334

1335+
#ifdef WIN32
1336+
if (parallel_init_done && GetCurrentThreadId() != mainThreadId)
1337+
ExitThread(code);
1338+
#endif
1339+
13351340
exit(code);
13361341
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy