Fixed listening ports not closed on cServerHandle::Close.
This commit is contained in:
parent
de7f5fc794
commit
79dee9bb70
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user