Skip to content

Commit bc73f6e

Browse files
emmanuel-ferdmanthewilsonator
authored andcommitted
replace deprecated event.set with event.setIfInitialized
Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>
1 parent dddba03 commit bc73f6e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

druntime/test/shared/src/dllgc.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ version(DLL)
2929
void term() nothrow
3030
{
3131
stop = true;
32-
event.set();
32+
event.setIfInitialized();
3333
joinLowLevelThread(tid);
3434
}
3535
}

0 commit comments

Comments
 (0)