Skip to content

Commit 3551603

Browse files
author
Alexander Korotkov
committed
Use proc_exit(1) instead of plain exit(1) on WL_POSTMASTER_DEATH in collector
background worker.
1 parent 4fdf032 commit 3551603

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

collector.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ collector_main(Datum main_arg)
356356
profile_period - (int)profile_diff));
357357

358358
if (rc & WL_POSTMASTER_DEATH)
359-
exit(1);
359+
proc_exit(1);
360360

361361
ResetLatch(&MyProc->procLatch);
362362

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