Skip to content
Snippets Groups Projects
Commit f68be61a authored by Sébastien Blin's avatar Sébastien Blin
Browse files

connectionmanager: call callbacks when account is disabled

If an account is disabled during the initialization of the ICE,
the callacks must be called to correctly clean conversation_module.
This was not correctly done as we only check the onShutdown() after
that the TLSSocketEndpoint is initialized.
It was a problem when the account was disabled, because in
connectDeviceStartIce() isDestroying_ was true at this point, so
we didn't erase the pending callback.

Change-Id: I21cdd30057d9879b6d6fef189fc43bf916d4c310
parent e679f436
No related branches found
No related tags found
No related merge requests found
Loading
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