From 6a36a397b2f888d1c5981143e0901b447e77280a Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sun, 29 May 2016 04:09:14 +0000 Subject: inbox: drop references ASAP for search and msgmap We can't leave them lingering in the parent process at all due to the risk of corruption with multiple processes. --- lib/PublicInbox/Inbox.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/PublicInbox/Inbox.pm') 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; } -- cgit v1.2.3-24-ge0c7