about summary refs log tree commit homepage
diff options
context:
space:
mode:
-rw-r--r--lib/PublicInbox/LEI.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/LEI.pm b/lib/PublicInbox/LEI.pm
index f8bcd43d..f00b2465 100644
--- a/lib/PublicInbox/LEI.pm
+++ b/lib/PublicInbox/LEI.pm
@@ -1296,7 +1296,7 @@ sub can_stay_alive { # PublicInbox::DS::post_loop_do cb
                         my $lne = delete($cfg->{-lei_note_event});
                         $lne->wq_close if $lne;
                         my $sto = delete($cfg->{-lei_store}) // next;
-                        eval { $sto->wq_io_do('done') };
+                        eval { $sto->wq_do('done') if $sto->{-wq_s1} };
                         warn "E: $@ (dropping store for $cfg->{-f})" if $@;
                         $sto->wq_close;
                 }