Bug 1240985 - Fix transaction ID when sending cancel message

This commit is contained in:
Bill McCloskey 2016-01-24 17:30:51 -08:00
parent 0d054c7a13
commit a180078bab

View File

@ -2117,8 +2117,10 @@ MessageChannel::CancelCurrentTransaction()
{
MonitorAutoLock lock(*mMonitor);
if (mCurrentTransaction) {
CancelMessage *cancel = new CancelMessage();
cancel->set_transaction_id(mCurrentTransaction);
mLink->SendMessage(cancel);
CancelCurrentTransactionInternal();
mLink->SendMessage(new CancelMessage());
}
}