Skip to content
Snippets Groups Projects
Commit 5b96fde6 authored by Sébastien Blin's avatar Sébastien Blin Committed by Adrien Béraud
Browse files

p2p: stop onStateChange when cancelled

Change-Id: Iceb7bb4ec8e710928b9399a75122db2f837d5491
parent b87c7d6d
No related branches found
No related tags found
No related merge requests found
......@@ -417,6 +417,7 @@ private:
JAMI_WARN() << "TLS connection failure from peer " << peer_.toString();
ice->cancelOperations(); // This will stop current PeerChannel operations
cancel();
return false;
} else if (state == tls::TlsSessionState::ESTABLISHED) {
// Connected!
connected_ = true;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment