mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 00:03:03 +01:00
Added missing synchronization.
This commit is contained in:
parent
16c5179809
commit
81df8a829f
@ -5788,6 +5788,8 @@ void JRD_shutdown_attachment(Attachment** handle, Attachment** released)
|
||||
|
||||
try
|
||||
{
|
||||
Firebird::MutexLockGuard guard(databases_mutex);
|
||||
|
||||
Attachment* attachment = *handle;
|
||||
validateHandle(tdbb, attachment);
|
||||
DatabaseContextHolder dbbHolder(tdbb);
|
||||
|
Loading…
Reference in New Issue
Block a user