about summary refs log tree commit homepage
path: root/lib
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2016-05-29 04:09:14 +0000
committerEric Wong <e@80x24.org>2016-05-29 04:09:14 +0000
commit6a36a397b2f888d1c5981143e0901b447e77280a (patch)
treeb8dc61feb7de962c8ad49f6418b575f1c59481b1 /lib
parentadb070ef0cf3185dbccb5a606c149ebb2e2eaadd (diff)
downloadpublic-inbox-6a36a397b2f888d1c5981143e0901b447e77280a.tar.gz
We can't leave them lingering in the parent process at
all due to the risk of corruption with multiple processes.
Diffstat (limited to 'lib')
-rw-r--r--lib/PublicInbox/Inbox.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/Inbox.pm b/lib/PublicInbox/Inbox.pm
index d050dc86..27218de7 100644
--- a/lib/PublicInbox/Inbox.pm
+++ b/lib/PublicInbox/Inbox.pm
@@ -86,7 +86,7 @@ sub base_url {
 sub nntp_usable {
         my ($self) = @_;
         my $ret = $self->mm && $self->search;
-        weaken_all();
+        $self->{mm} = $self->{search} = undef;
         $ret;
 }