Prevent assert crash on network reconnect
commit30c3dca574d7f9d4de260a70fd6ad9dec8f63573
authorJan Kundrát <jkt@kde.org>
Tue, 29 Sep 2015 12:48:06 +0000 (29 14:48 +0200)
committerJan Kundrát <jkt@kde.org>
Tue, 29 Sep 2015 12:48:06 +0000 (29 14:48 +0200)
treef53ef101d725a44fb823596746b2e71c09b431f5
parent0aa118485e0bb33ef5e59c502f8f3792be0c5f28
Prevent assert crash on network reconnect

I haven't seen the reported segfault on my system even though I've been
a victim of quite frequent reconnects due to a HW glitch related to palm
rest and a bit tired HW RF kill switch. However, the backtrace in the
bug report suggests that this is the likely culprit, and the fix "makes
sense" to me.

BUG: 353314
Change-Id: Ib37825b476f47a7484004cad3b64e37876d5badb
src/Imap/Tasks/KeepMailboxOpenTask.cpp