Skip to content

Commit 5c23d21

Browse files
committed
rt: Remove an incorrect assert in lock_and_signal
This assert doesn't hold because it isn't made while holding the lock
1 parent 8cbaebb commit 5c23d21

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/rt/sync/lock_and_signal.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ lock_and_signal::lock_and_signal()
4343
#endif
4444

4545
lock_and_signal::~lock_and_signal() {
46-
assert(_holding_thread == INVALID_THREAD);
4746
#if defined(__WIN32__)
4847
CloseHandle(_event);
4948
DeleteCriticalSection(&_cs);

0 commit comments

Comments
 (0)