Commit d82e4917 authored by David Faure's avatar David Faure
Browse files

Fix crash due to dangling session pointer in m_pendingInitialSession.

This happens after disconnect() kills all sessions (e.g. due to losing
internet connection while the password dialog is up, or explicit toggling
of offline/online status, or due to the "SSL not supported").

BUG: 312480, 310072, 308888, 288268, 312057, 309357, 308207, 312535, 311014, 309346, 307780
FIXED-IN: 4.10.1
parent 2a40d786
......@@ -119,6 +119,7 @@ void SessionPool::disconnect( SessionTermination termination )
m_unusedPool.clear();
m_reservedPool.clear();
m_connectingPool.clear();
m_pendingInitialSession = 0;
delete m_account;
m_account = 0;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment