about summary refs log tree commit homepage
diff options
context:
space:
mode:
-rw-r--r--t/watch_filter_rubylang.t3
1 files changed, 3 insertions, 0 deletions
diff --git a/t/watch_filter_rubylang.t b/t/watch_filter_rubylang.t
index 004e794e..643dbb8a 100644
--- a/t/watch_filter_rubylang.t
+++ b/t/watch_filter_rubylang.t
@@ -99,6 +99,9 @@ EOF
         }
         $w->scan('full');
 
+        # ensure orderly destruction to avoid SQLite segfault:
+        PublicInbox::DS->Reset;
+
         $cfg = PublicInbox::Config->new(\$orig);
         $ibx = $cfg->lookup_name($v);
         $ibx->{-no_fsync} = 1;