diff options
Diffstat (limited to 'cpp/src/qpid/broker/SessionState.cpp')
-rw-r--r-- | cpp/src/qpid/broker/SessionState.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/cpp/src/qpid/broker/SessionState.cpp b/cpp/src/qpid/broker/SessionState.cpp index 3c6bed4344..b96d7b5e3f 100644 --- a/cpp/src/qpid/broker/SessionState.cpp +++ b/cpp/src/qpid/broker/SessionState.cpp @@ -275,11 +275,7 @@ void SessionState::handle(AMQFrame& frame) } else { getProxy().getExecution010().exception(e.code, commandId, 0, 0, 0, e.what(), FieldTable()); } - timeout = 0; - //The python client doesn't currently detach on receiving an exception - //so the session state isn't destroyed. This is a temporary workaround - //until that is addressed - adapter.destroyExclusiveQueues(); + throw e; } } |