fixed crash

This commit is contained in:
orignal 2015-02-27 13:07:32 -05:00
parent bd9e68e69f
commit 7949ffe41e
3 changed files with 10 additions and 2 deletions

View file

@ -1076,7 +1076,14 @@ namespace transport
uint8_t buf[48 + 18];
// encrypt message with session key
FillHeaderAndEncrypt (PAYLOAD_TYPE_SESSION_DESTROYED, buf, 48);
Send (buf, 48);
try
{
Send (buf, 48);
}
catch (std::exception& ex)
{
LogPrint (eLogError, "SSU send session destoriyed exception ", ex.what ());
}
LogPrint (eLogDebug, "SSU session destroyed sent");
}
}