MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / unRegisterPort

Method unRegisterPort

src/remote/remote.cpp:782–797  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

780}
781
782void PortsCleanup::unRegisterPort(rem_port* port)
783{
784 MutexLockGuard guard(m_mutex, FB_FUNCTION);
785
786 if (closing)
787 return;
788
789 if (m_ports)
790 {
791 FB_SIZE_T i;
792 const bool found = m_ports->find(port, i);
793 //fb_assert(found);
794 if (found)
795 m_ports->remove(i);
796 }
797}
798
799void PortsCleanup::closePorts()
800{

Callers 3

disconnectFunction · 0.80
disconnectFunction · 0.80
disconnectFunction · 0.80

Calls 2

findMethod · 0.45
removeMethod · 0.45

Tested by

no test coverage detected