Skip to content

Commit 4fb9f07

Browse files
committed
Force singleton init before threads
1 parent 4b18d1b commit 4fb9f07

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/ExtraTests/X94-ThreadSafetyTests.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ TEST_CASE( "Failed REQUIRE in the main thread is fine", "[.]" ) {
4444
}
4545

4646
TEST_CASE( "Messages in subthread - no assertions", "[!shouldfail]" ) {
47+
CAPTURE(123);
4748
std::vector<std::thread> threads;
4849
for ( size_t t = 0; t < 4; ++t) {
4950
threads.emplace_back( [t]() {

0 commit comments

Comments
 (0)