Proper destruction of sockets (crashed previously).
This commit is contained in:
@@ -53,6 +53,7 @@ ClientContext::~ClientContext()
|
||||
{
|
||||
m_senderThread->SignalStop();
|
||||
m_senderThread->WaitStop();
|
||||
m_senderThread.reset();
|
||||
m_sessionData.reset();
|
||||
}
|
||||
|
||||
|
||||
@@ -71,7 +71,7 @@ public:
|
||||
}
|
||||
virtual void SignalSessionTerminated(unsigned session)
|
||||
{
|
||||
m_server.GetSender();
|
||||
m_server.GetSender().SignalSessionTerminated(session);
|
||||
}
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user