io: avoid redundant waitpid in DESTROY
commit1f17f55af8986d1724f5ea1318207f251d8642a5
authorEric Wong <e@80x24.org>
Fri, 12 Apr 2024 18:04:13 +0000 (12 18:04 +0000)
committerEric Wong <e@80x24.org>
Sat, 13 Apr 2024 10:06:15 +0000 (13 10:06 +0000)
treec05abd0431e461d2d5f0a8d0238e5545a538fec1
parent7af35b29074567fcc8c7e59260e72b66ea8c8436
io: avoid redundant waitpid in DESTROY

We shouldn't attempt to reap a process again after it's been
reaped asynchronously in the SIGCHLD handler.  Noticed while
working on changes to get lei/store to use checkpointing.
lib/PublicInbox/IO.pm