net: Clear CNode::strSendCommand if a message is aborted

This commit is contained in:
Jack Grigg 2021-03-31 09:08:55 +13:00
parent f8d63a83fc
commit 3030df906d
1 changed files with 1 additions and 0 deletions

View File

@ -2284,6 +2284,7 @@ void CNode::BeginMessage(const char* pszCommand) EXCLUSIVE_LOCK_FUNCTION(cs_vSen
void CNode::AbortMessage() UNLOCK_FUNCTION(cs_vSend)
{
ssSend.clear();
strSendCommand.clear();
LEAVE_CRITICAL_SECTION(cs_vSend);