mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 22:03:04 +01:00
Fixed bug CORE-2867 : SuperClassic leaks semaphores on disconnect
This commit is contained in:
parent
01b980cd98
commit
45db74ba08
@ -1254,7 +1254,7 @@ void CCH_fini(thread_db* tdbb)
|
|||||||
{
|
{
|
||||||
dbb->dbb_bufferpool->deallocate(bcb->bcb_memory.pop());
|
dbb->dbb_bufferpool->deallocate(bcb->bcb_memory.pop());
|
||||||
}
|
}
|
||||||
#ifdef CACHE_WRITER
|
|
||||||
// Dispose off any associated latching semaphores
|
// Dispose off any associated latching semaphores
|
||||||
while (QUE_NOT_EMPTY(bcb->bcb_free_lwt))
|
while (QUE_NOT_EMPTY(bcb->bcb_free_lwt))
|
||||||
{
|
{
|
||||||
@ -1263,7 +1263,6 @@ void CCH_fini(thread_db* tdbb)
|
|||||||
LatchWait* lwt = (LatchWait*) BLOCK(que_inst, LatchWait*, lwt_waiters);
|
LatchWait* lwt = (LatchWait*) BLOCK(que_inst, LatchWait*, lwt_waiters);
|
||||||
delete lwt;
|
delete lwt;
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
} // try
|
} // try
|
||||||
|
Loading…
Reference in New Issue
Block a user