<table><tr><td style="">marten created this revision.<br />marten added a reviewer: KDE PIM.<br />Restricted Application added a project: KDE PIM.<br />marten requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D11256">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>The backtraces in bug <a href="https://bugs.kde.org/show_bug.cgi?id=387177" class="remarkup-link" target="_blank" rel="noreferrer">https://bugs.kde.org/show_bug.cgi?id=387177</a> appear to show a crash as a result of accessing the main window's status bar during destruction, with running Akonadi jobs being killed and trying to show a status message.  By this time, the status bar has already been destroyed.</p>

<p>This change disconnects the broadcast status message signal from the status bar before it is destroyed.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Previously this crash happened regularly.  Since rebuilding kmail with this change, I have not experienced any such crash over a number of weeks when quitting the application, whether it is busy or not.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R206 KMail</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D11256">https://phabricator.kde.org/D11256</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/kmmainwin.cpp</div></div></div><br /><div><strong>To: </strong>marten, KDE PIM<br /><strong>Cc: </strong>dvasin, winterz, vkrause, mlaurent, knauss, dvratil<br /></div>