diff options
author | Remko Tronçon <git@el-tramo.be> | 2010-12-27 19:27:29 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2010-12-27 19:27:29 (GMT) |
commit | 0811be1b9948bfc9fcce46586ad20c1ac1a619ad (patch) | |
tree | e0956dcc5121ec313f91404d46b74ca4fae689c6 /Swiften/Queries | |
parent | 2ef4bb560dad95555a5ae94d0bd5bff49d50d3d3 (diff) | |
download | swift-0811be1b9948bfc9fcce46586ad20c1ac1a619ad.zip swift-0811be1b9948bfc9fcce46586ad20c1ac1a619ad.tar.bz2 |
Disconnect signals in IQRouter.
Diffstat (limited to 'Swiften/Queries')
-rw-r--r-- | Swiften/Queries/IQRouter.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Swiften/Queries/IQRouter.cpp b/Swiften/Queries/IQRouter.cpp index 6e80b3f..a08668a 100644 --- a/Swiften/Queries/IQRouter.cpp +++ b/Swiften/Queries/IQRouter.cpp @@ -23,6 +23,7 @@ IQRouter::IQRouter(IQChannel* channel) : channel_(channel), queueRemoves_(false) } IQRouter::~IQRouter() { + channel_->onIQReceived.disconnect(boost::bind(&IQRouter::handleIQ, this, _1)); } bool IQRouter::isAvailable() { |