From c35b597daf2de0fe4bb7f752128dc9ded041ff8b Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Thu, 14 Sep 2023 12:50:56 +0000 Subject: ds: Reset at END This seems to avoid some DBI teardown segfaults on OpenBSD 7.3; but there may be other places where something similar is necessary. --- lib/PublicInbox/DS.pm | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/PublicInbox/DS.pm') diff --git a/lib/PublicInbox/DS.pm b/lib/PublicInbox/DS.pm index d47df491..919a4b67 100644 --- a/lib/PublicInbox/DS.pm +++ b/lib/PublicInbox/DS.pm @@ -55,6 +55,9 @@ our ( Reset(); +# clobber everything explicitly to avoid DESTROY ordering problems w/ DBI +END { Reset() } + ##################################################################### ### C L A S S M E T H O D S ##################################################################### -- cgit v1.2.3-24-ge0c7