summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2013-08-16 13:48:20 (GMT)
committerSwift Review <review@swift.im>2013-08-16 18:50:43 (GMT)
commit53af82bb4f962ff7b372f3051060779cdb97779d (patch)
tree9043848e4e8512d579b793ad0f2c65b6f0631801
parentf33cb9f04e2b6629a56ec32ba4f6345a8acda2f1 (diff)
downloadswift-53af82bb4f962ff7b372f3051060779cdb97779d.zip
swift-53af82bb4f962ff7b372f3051060779cdb97779d.tar.bz2
Don't assert when disconnecting components
Change-Id: Ifc1898f87e93aa19a90254914506c1e8606d358e
-rw-r--r--Swiften/Component/CoreComponent.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Swiften/Component/CoreComponent.cpp b/Swiften/Component/CoreComponent.cpp
index eabe3f6..d2cc7aa 100644
--- a/Swiften/Component/CoreComponent.cpp
+++ b/Swiften/Component/CoreComponent.cpp
@@ -85,9 +85,9 @@ void CoreComponent::disconnect() {
connector_->stop();
assert(!session_);
}
- assert(!session_);
- assert(!sessionStream_);
- assert(!connector_);
+ //assert(!session_); /* commenting out until we have time to refactor to be like CoreClient */
+ //assert(!sessionStream_);
+ //assert(!connector_);
disconnectRequested_ = false;
}