summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-10-12 00:13:25 +0200
committerCarl Hetherington <cth@carlh.net>2021-10-12 10:40:45 +0200
commit92850afea113c10c0bdf773b22a4165673238a5a (patch)
tree83a963b3ee0050cc50d5a39100c41ad3f1ded6a7
parentc29de33e6f8b20219a957a0cd88d61fd8cba1ad9 (diff)
Hopefully fix race between thread finishing and cleanup being run (#2100).
-rw-r--r--test/writer_test.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/writer_test.cc b/test/writer_test.cc
index 9a6541f58..1dfc75bfc 100644
--- a/test/writer_test.cc
+++ b/test/writer_test.cc
@@ -95,6 +95,7 @@ BOOST_AUTO_TEST_CASE (interrupt_writer)
dcpomatic_sleep_seconds (1);
thread.interrupt ();
+ thread.join ();
dcpomatic_sleep_seconds (1);
cl.run ();