X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=lib%2FPublicInbox%2FExtSearch.pm;h=7520e71c3c12d5c4860e5a57fb80aeefd574f407;hb=63d7b8ceee55a34cde983e8548d5ce61050d2891;hp=cd7cba2e88ce217bbc036a1655f479b291304efe;hpb=356439a571c536eaa487031802b436d087113f4f;p=public-inbox.git diff --git a/lib/PublicInbox/ExtSearch.pm b/lib/PublicInbox/ExtSearch.pm index cd7cba2e..7520e71c 100644 --- a/lib/PublicInbox/ExtSearch.pm +++ b/lib/PublicInbox/ExtSearch.pm @@ -112,6 +112,11 @@ sub description { '$EXTINDEX_DIR/description missing'; } +sub search { + PublicInbox::Inbox::_cleanup_later($_[0]); + $_[0]; +} + no warnings 'once'; *base_url = \&PublicInbox::Inbox::base_url; *smsg_eml = \&PublicInbox::Inbox::smsg_eml; @@ -121,6 +126,6 @@ no warnings 'once'; *recent = \&PublicInbox::Inbox::recent; *max_git_epoch = *nntp_usable = *msg_by_path = \&mm; # undef -*isrch = *search = \&PublicInbox::Search::reopen; +*isrch = \&search; 1;