projects
/
public-inbox.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
adb070e
)
inbox: drop references ASAP for search and msgmap
author
Eric Wong <e@80x24.org>
Sun, 29 May 2016 04:09:14 +0000 (
04:09
+0000)
committer
Eric Wong <e@80x24.org>
Sun, 29 May 2016 04:09:14 +0000 (
04:09
+0000)
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
patch
|
blob
|
history
diff --git
a/lib/PublicInbox/Inbox.pm
b/lib/PublicInbox/Inbox.pm
index d050dc86b0ad677c289e8b171bd2bcf191aa3878..27218de74c22a9082dba5d10942186fe29947752 100644
(file)
--- 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;
}