Skip to content

Commit

Permalink
sender tx fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
Petr Matousek committed Jan 10, 2025
1 parent a815927 commit ab42ae3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/api/qpid-proton/reactor/handler/TxSenderHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -318,10 +318,10 @@ void TxSenderHandler::on_connection_error(connection &c)

void TxSenderHandler::on_transaction_declared(transaction t) {
logger(trace) << "[on_transaction_declared] txn called " << (&t);
tx = t;
send();
logger(trace) << "[on_transaction_declared] txn is_empty " << (t.is_empty())
<< "\t" << tx.is_empty();
tx = t;
send();
}

void TxSenderHandler::on_transaction_committed(transaction t) {
Expand Down

0 comments on commit ab42ae3

Please sign in to comment.