Browse Source

fixed crash

pull/33/head
orignal 11 years ago
parent
commit
0171d3040a
  1. 4
      NTCPSession.cpp

4
NTCPSession.cpp

@ -474,7 +474,9 @@ namespace ntcp @@ -474,7 +474,9 @@ namespace ntcp
if (ecode)
{
LogPrint ("Couldn't send msg: ", ecode.message ());
Terminate ();
// we shouldn't call Terminate () here, because HandleReceive takes care
// TODO: 'delete this' statement in Terminate () must be eliminated later
// Terminate ();
}
else
{

Loading…
Cancel
Save