cleanup_task is long gone since all that cleanup work got moved
into DS itself. Adding a DS->Reset here breaks t/imapd.t (and
possibly other tests), and is actually unlikely to avoid any
cleanup segfaults on OpenBSD since those are only happening
after `END {}' blocks are called.
chdir $d or die "chdir $d: $!";
}
_run_sub($sub, $key, \@argv);
- eval { PublicInbox::Inbox::cleanup_task() };
+ # n.b. all our uses of PublicInbox::DS should be fine
+ # with this and we can't Reset here.
die "fchdir(restore): $!" if $cwdfh && !chdir($cwdfh);
_undo_redirects($orig_io);
select STDOUT;