diff options
Diffstat (limited to 'cpp/src/qpid/ha/PrimaryTxObserver.cpp')
| -rw-r--r-- | cpp/src/qpid/ha/PrimaryTxObserver.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/ha/PrimaryTxObserver.cpp b/cpp/src/qpid/ha/PrimaryTxObserver.cpp index ca833cf085..0f8ed0a0a7 100644 --- a/cpp/src/qpid/ha/PrimaryTxObserver.cpp +++ b/cpp/src/qpid/ha/PrimaryTxObserver.cpp @@ -200,7 +200,7 @@ void PrimaryTxObserver::end(sys::Mutex::ScopedLock&) { // Don't destroy the tx-queue until the transaction is complete and there // are no connected subscriptions. if (txBuffer && complete && unfinished.empty()) { - txBuffer.reset(); // Break pointer cycle. + txBuffer = 0; // Break pointer cycle. try { haBroker.getBroker().deleteQueue(txQueue->getName(), haBroker.getUserId(), string()); } catch (const std::exception& e) { |
