Deal with akregator part main widget being externally deleted.

Review Request #125710 - Created Oct. 19, 2015 and submitted

Information
Alex Merry
kdepim
master
23e7270...
Reviewers
kdepim
mlaurent
Running akregator under valgrind (to track down a different crash), I
got that the main widget was deleted from the event loop (by
qDeleteInEventHandler), which then triggered the deletion of the
akregator part, which then tried to access the (now deleted) widget.

This should prevent the code from crashing in this case.

Built, ran and quit akregator (both under valgrind and not).

Allen Winter
Allen Winter
Alex Merry
Review request changed

Status: Closed (submitted)

Change Summary:

Submitted with commit 4f4e279e85fd9ebf2b8c29f31bf721df7ffeec6b by Alex Merry to branch master.
Loading...