diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-10-12 00:13:25 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-10-12 10:40:09 +0200 |
| commit | ace084a4b7595deea9d2bd019e9123a76a0fa1a9 (patch) | |
| tree | 9b4f508eb56dd0844801a6fad847f4d4ea3be8f3 /test | |
| parent | c9d6036eaf3cff693d3661167f84b29be4e4e3ae (diff) | |
Hopefully fix race between thread finishing and cleanup being run (#2100).
Diffstat (limited to 'test')
| -rw-r--r-- | test/writer_test.cc | 1 |
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 (); |
