summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-09-13 00:28:04 +0200
committerCarl Hetherington <cth@carlh.net>2025-09-13 21:55:32 +0200
commitb0d7e353d92819eb2a8479eaf239ef7547c53fea (patch)
tree062b265b805cb31ab3d5e451fb580b848afc188e
parentb5d8e1c4f14ee9bb88c980c5431a98041428d229 (diff)
Zombify writer when the thread throws an exception.
Otherwise I think we can wait forever for the thread to write things to disk.
-rw-r--r--src/lib/writer.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/writer.cc b/src/lib/writer.cc
index dd5223670..80ffb2913 100644
--- a/src/lib/writer.cc
+++ b/src/lib/writer.cc
@@ -488,6 +488,7 @@ try
catch (...)
{
store_current();
+ zombify();
}