From 9b2dd11a547cf28ddb189fbd3f9c7427b11f81ed Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Tue, 19 Apr 2011 20:38:02 +0000 Subject: QPID-3215: cached exchange reference can cause cluster inconsistencies if exchange is deleted/recreated (2) Previous commit only updated one of the two Exchange constructors, this commit updates the other. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1095201 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/broker/Exchange.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/src/qpid/broker/Exchange.cpp b/cpp/src/qpid/broker/Exchange.cpp index 569c82fd7a..6144f4f87f 100644 --- a/cpp/src/qpid/broker/Exchange.cpp +++ b/cpp/src/qpid/broker/Exchange.cpp @@ -179,7 +179,7 @@ Exchange::Exchange (const string& _name, Manageable* parent, Broker* b) : Exchange::Exchange(const string& _name, bool _durable, const qpid::framing::FieldTable& _args, Manageable* parent, Broker* b) : name(_name), durable(_durable), alternateUsers(0), persistenceId(0), - args(_args), sequence(false), sequenceNo(0), ive(false), mgmtExchange(0), broker(b) + args(_args), sequence(false), sequenceNo(0), ive(false), mgmtExchange(0), broker(b), destroyed(false) { if (parent != 0 && broker != 0) { -- cgit v1.2.1