From 13a7f10e585b0816e375f134f00a1d2fe9af4bd3 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sun, 26 Nov 2023 21:08:01 +0000 Subject: drop redundant calls to DS->Reset Reset gets called on END{} anyways to workaround DBI lifetime problems, so there's no need to call it near exit. We can't replace calls to POSIX::_exit with `exit' to force END{} to run just yet, as there are still some lingering destruction ordering problems on newer DBI and or Perls. --- lib/PublicInbox/Daemon.pm | 1 - 1 file changed, 1 deletion(-) (limited to 'lib/PublicInbox/Daemon.pm') diff --git a/lib/PublicInbox/Daemon.pm b/lib/PublicInbox/Daemon.pm index f33f6f17..a2c1ed6e 100644 --- a/lib/PublicInbox/Daemon.pm +++ b/lib/PublicInbox/Daemon.pm @@ -703,7 +703,6 @@ sub run { local %POST_ACCEPT; daemon_loop(); - PublicInbox::DS->Reset; # ->DESTROY runs when $for_destroy goes out-of-scope } -- cgit v1.2.3-24-ge0c7