Skip to content

Commit c4ac9de

Browse files
hotfix: release mutex via activeThreadGuard pointer, not the optional one (threadGuard instead of dummyGuard for crypto thread)
1 parent e7801a5 commit c4ac9de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/jrd/jrd.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6476,7 +6476,7 @@ static void release_attachment(thread_db* tdbb, Jrd::Attachment* attachment)
64766476
}
64776477

64786478
// Notify special threads
6479-
threadGuard.leave();
6479+
activeThreadGuard->leave();
64806480

64816481
// Sync with special threads
64826482
sync.unlock();

0 commit comments

Comments
 (0)