Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1563)

Unified Diff: remoting/jingle_glue/xmpp_signal_strategy.cc

Issue 7312013: Minor cleanups in JingleSession and JingleSessionManager. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: - Created 9 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/jingle_glue/javascript_signal_strategy.cc ('k') | remoting/protocol/connection_to_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/jingle_glue/xmpp_signal_strategy.cc
diff --git a/remoting/jingle_glue/xmpp_signal_strategy.cc b/remoting/jingle_glue/xmpp_signal_strategy.cc
index 74260c46e4b8480c265543f6fa95e79313cb554e..a5f9a2b3ce1fee0a4ae0861094d3825de9588faf 100644
--- a/remoting/jingle_glue/xmpp_signal_strategy.cc
+++ b/remoting/jingle_glue/xmpp_signal_strategy.cc
@@ -29,10 +29,8 @@ XmppSignalStrategy::XmppSignalStrategy(JingleThread* jingle_thread,
}
XmppSignalStrategy::~XmppSignalStrategy() {
- if (xmpp_client_)
- xmpp_client_->engine()->RemoveStanzaHandler(this);
-
DCHECK(listener_ == NULL);
+ Close();
}
void XmppSignalStrategy::Init(StatusObserver* observer) {
« no previous file with comments | « remoting/jingle_glue/javascript_signal_strategy.cc ('k') | remoting/protocol/connection_to_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698