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:45 +0200 |
| commit | 92850afea113c10c0bdf773b22a4165673238a5a (patch) | |
| tree | 83a963b3ee0050cc50d5a39100c41ad3f1ded6a7 | |
| parent | c29de33e6f8b20219a957a0cd88d61fd8cba1ad9 (diff) | |
Hopefully fix race between thread finishing and cleanup being run (#2100).
| -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 (); |
