]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/IPC.pm
lei: remove INT/QUIT/TERM handlers, fix daemon EOF
[public-inbox.git] / lib / PublicInbox / IPC.pm
index 24f45e036d99058b0dd08d77810fa08f00322c7f..dbb87e4ebedb006dbaa22d11786fd8d2cc686d3d 100644 (file)
@@ -408,6 +408,7 @@ sub DESTROY {
        my $ppid = $self->{-wq_ppid};
        wq_kill($self) if $ppid && $ppid == $$;
        wq_close($self);
+       wq_wait_old($self);
        ipc_worker_stop($self);
 }