about summary refs log tree commit homepage
diff options
context:
space:
mode:
-rw-r--r--lib/PublicInbox/Search.pm8
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/PublicInbox/Search.pm b/lib/PublicInbox/Search.pm
index 1df87d0e..3a27512b 100644
--- a/lib/PublicInbox/Search.pm
+++ b/lib/PublicInbox/Search.pm
@@ -167,7 +167,13 @@ sub new {
         $self;
 }
 
-sub reopen { $_[0]->{xdb}->reopen }
+sub reopen {
+        my ($self) = @_;
+        $self->{xdb}->reopen;
+        if (my $skel = $self->{skel}) {
+                $skel->reopen;
+        }
+}
 
 # read-only
 sub query {