Skip to content

Commit

Permalink
Merge branch 'master' of github.com:CopernicaMarketingSoftware/REACT-…
Browse files Browse the repository at this point in the history
…CPP-AMQP
  • Loading branch information
Toon Schoenmakers committed Oct 27, 2015
2 parents 0b357e5 + 05fbb63 commit 0811030
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions include/connection.h
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,10 @@ class Connection : private ::AMQP::ConnectionHandler
*/
void onClosed(::AMQP::Connection *connection) override
{
// no longer need the socket or the input
_socket.reset();
_input.reset();

// send to the handler
if (_handler) _handler->onClosed(this);
}
Expand Down

0 comments on commit 0811030

Please sign in to comment.