diff options
author | Eric Wong <e@80x24.org> | 2023-09-14 12:50:56 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2023-09-14 20:52:59 +0000 |
commit | c35b597daf2de0fe4bb7f752128dc9ded041ff8b (patch) | |
tree | 87527590160c0d2625dd78dc4d22f323d832d280 /lib/PublicInbox/DS.pm | |
parent | e21d23ad95d4a50880b6a8dbabfaceccac5c1a99 (diff) | |
download | public-inbox-c35b597daf2de0fe4bb7f752128dc9ded041ff8b.tar.gz |
This seems to avoid some DBI teardown segfaults on OpenBSD 7.3; but there may be other places where something similar is necessary.
Diffstat (limited to 'lib/PublicInbox/DS.pm')
-rw-r--r-- | lib/PublicInbox/DS.pm | 3 |
1 files changed, 3 insertions, 0 deletions
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 ##################################################################### |