mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 06:03:02 +01:00
Once I've got NULL object here, could not reproduce, but fix is trivial
This commit is contained in:
parent
198dd90a22
commit
4d5faef00b
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user