net: Clear CNode::strSendCommand if a message is aborted
This commit is contained in:
parent
f8d63a83fc
commit
3030df906d
|
@ -2284,6 +2284,7 @@ void CNode::BeginMessage(const char* pszCommand) EXCLUSIVE_LOCK_FUNCTION(cs_vSen
|
||||||
void CNode::AbortMessage() UNLOCK_FUNCTION(cs_vSend)
|
void CNode::AbortMessage() UNLOCK_FUNCTION(cs_vSend)
|
||||||
{
|
{
|
||||||
ssSend.clear();
|
ssSend.clear();
|
||||||
|
strSendCommand.clear();
|
||||||
|
|
||||||
LEAVE_CRITICAL_SECTION(cs_vSend);
|
LEAVE_CRITICAL_SECTION(cs_vSend);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue