markAborted method

void markAborted()

Marks this transaction as aborted

Implementation

void markAborted() {
  if (!isActive) {
    throw StompTransactionException('Transaction is not active', id);
  }
  _isAborted = true;
  _frames.clear(); // Clear frames on abort
}