1
0

Fixed listening ports not closed on cServerHandle::Close.

This commit is contained in:
Mattes D 2015-01-27 13:58:46 +01:00
parent de7f5fc794
commit 79dee9bb70

View File

@ -83,6 +83,9 @@ void cServerHandleImpl::Close(void)
// Remove the ptr to self, so that the object may be freed:
m_SelfPtr.reset();
// Remove self from cNetworkSingleton:
cNetworkSingleton::Get().RemoveServer(this);
}