fixed memory leak

This commit is contained in:
orignal 2015-02-07 17:58:29 -05:00
parent ab0bd908ec
commit a80e4ef0ea
4 changed files with 10 additions and 1 deletions

View file

@ -763,6 +763,7 @@ namespace transport
m_State = eSessionStateClosed;
SendSesionDestroyed ();
transports.PeerDisconnected (shared_from_this ());
m_Data.Stop ();
m_Timer.cancel ();
}