From c4ac9de2d5544d7d1604bdfa16e8a924fc16f6f7 Mon Sep 17 00:00:00 2001 From: "aleksey.mochalov" Date: Tue, 28 Jan 2025 16:56:12 +0300 Subject: [PATCH] hotfix: release mutex via activeThreadGuard pointer, not the optional one (threadGuard instead of dummyGuard for crypto thread) --- src/jrd/jrd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jrd/jrd.cpp b/src/jrd/jrd.cpp index eced5e54d71..625ba775306 100644 --- a/src/jrd/jrd.cpp +++ b/src/jrd/jrd.cpp @@ -6476,7 +6476,7 @@ static void release_attachment(thread_db* tdbb, Jrd::Attachment* attachment) } // Notify special threads - threadGuard.leave(); + activeThreadGuard->leave(); // Sync with special threads sync.unlock();