8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-24 09:23:03 +01:00

Once I've got NULL object here, could not reproduce, but fix is trivial

This commit is contained in:
alexpeshkoff 2012-12-28 16:16:34 +00:00
parent 198dd90a22
commit 4d5faef00b

View File

@ -779,6 +779,11 @@ void PortsCleanup::unRegisterPort(rem_port* port)
void PortsCleanup::closePorts() void PortsCleanup::closePorts()
{ {
if (!this)
{
return;
}
Firebird::MutexLockGuard guard(m_mutex); Firebird::MutexLockGuard guard(m_mutex);
if (m_ports) if (m_ports)