]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/ParentPipe.pm
Merge remote-tracking branch 'origin/email-simple-mem' into master
[public-inbox.git] / lib / PublicInbox / ParentPipe.pm
index 6ef51c1adbd536527abe71598b899d9783d06220..2e2abb5fd3172303507fc9990d9e707da6a22111 100644 (file)
@@ -19,6 +19,9 @@ sub new ($$$) {
 }
 
 # master process died, time to call worker_quit ourselves
-sub event_step { $_[0]->{cb}->($_[0]) }
+sub event_step {
+       $_[0]->close; # PublicInbox::DS::close
+       $_[0]->{cb}->();
+}
 
 1;