mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 06:43: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
|
try
|
||||||
{
|
{
|
||||||
|
Firebird::MutexLockGuard guard(databases_mutex);
|
||||||
|
|
||||||
Attachment* attachment = *handle;
|
Attachment* attachment = *handle;
|
||||||
validateHandle(tdbb, attachment);
|
validateHandle(tdbb, attachment);
|
||||||
DatabaseContextHolder dbbHolder(tdbb);
|
DatabaseContextHolder dbbHolder(tdbb);
|
||||||
|
Loading…
Reference in New Issue
Block a user