fixed crash

This commit is contained in:
orignal 2014-02-16 08:57:50 -05:00
parent 759fd0815d
commit 10c7e05ff4

View File

@ -64,9 +64,12 @@ namespace i2p
delete session.second; delete session.second;
m_NTCPSessions.clear (); m_NTCPSessions.clear ();
delete m_NTCPAcceptor; delete m_NTCPAcceptor;
m_Timer->cancel (); if (m_Timer)
delete m_Timer; {
m_Timer->cancel ();
delete m_Timer;
}
if (m_SSUServer) if (m_SSUServer)
{ {