Skip to content

Commit

Permalink
fixed crash
Browse files Browse the repository at this point in the history
  • Loading branch information
orignal committed Feb 16, 2014
1 parent 759fd08 commit 10c7e05
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions Transports.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,12 @@ namespace i2p
delete session.second;
m_NTCPSessions.clear ();
delete m_NTCPAcceptor;

m_Timer->cancel ();
delete m_Timer;

if (m_Timer)
{
m_Timer->cancel ();
delete m_Timer;
}

if (m_SSUServer)
{
Expand Down

0 comments on commit 10c7e05

Please sign in to comment.