mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-13 21:06:39 +01:00
fixed double deletion
This commit is contained in:
parent
4334007688
commit
a8acb8ebb4
2 changed files with 4 additions and 3 deletions
|
@ -427,7 +427,7 @@ namespace transport
|
|||
if (ecode)
|
||||
{
|
||||
LogPrint ("Read error: ", ecode.message ());
|
||||
if (ecode != boost::asio::error::operation_aborted)
|
||||
//if (ecode != boost::asio::error::operation_aborted)
|
||||
Terminate ();
|
||||
}
|
||||
else
|
||||
|
@ -589,7 +589,8 @@ namespace transport
|
|||
if (ecode != boost::asio::error::operation_aborted)
|
||||
{
|
||||
LogPrint ("No activity fo ", NTCP_TERMINATION_TIMEOUT, " seconds");
|
||||
Terminate ();
|
||||
//Terminate ();
|
||||
m_Socket.close ();// invoke Terminate () from HandleReceive
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
#define _VERSION_H_
|
||||
|
||||
#define CODENAME "Purple"
|
||||
#define VERSION "0.2.0"
|
||||
#define VERSION "0.2.1"
|
||||
#define I2P_VERSION "0.9.15"
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Reference in a new issue