Skip to content

Commit ab42ae3

Browse files
author
Petr Matousek
committed
sender tx fixup
1 parent a815927 commit ab42ae3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/api/qpid-proton/reactor/handler/TxSenderHandler.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -318,10 +318,10 @@ void TxSenderHandler::on_connection_error(connection &c)
318318

319319
void TxSenderHandler::on_transaction_declared(transaction t) {
320320
logger(trace) << "[on_transaction_declared] txn called " << (&t);
321-
tx = t;
322-
send();
323321
logger(trace) << "[on_transaction_declared] txn is_empty " << (t.is_empty())
324322
<< "\t" << tx.is_empty();
323+
tx = t;
324+
send();
325325
}
326326

327327
void TxSenderHandler::on_transaction_committed(transaction t) {

0 commit comments

Comments
 (0)