D19559: Explicitly delete MailWebEnginePage to avoid crash on KMail exit or viewer window close

Daniel Vrátil noreply at phabricator.kde.org
Wed Mar 6 18:26:09 GMT 2019


dvratil added a comment.


  Now that I think about it, wouldn't it be cleaner if the `QWebEngineProfile` was instantiated inside of `MailWebEnginePage` and the page would be set as a parent for the profile? That way the profile would be destroyed automatically by Qt, but after `MailWebEnginePage` destructor, so still (and always!) in the correct order...could you test it, please?

REPOSITORY
  R94 PIM: Message Library

REVISION DETAIL
  https://phabricator.kde.org/D19559

To: marten, #kde_pim
Cc: dvratil, kde-pim, dvasin, rodsevich, winterz, vkrause, mlaurent, knauss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20190306/cb447f63/attachment.html>


More information about the kde-pim mailing list