8
0
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:
dimitr 2008-02-19 16:50:04 +00:00
parent 16c5179809
commit 81df8a829f

View File

@ -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);