Review Request 128667: Fix crash when closing a session

Martin Tobias Holmedahl Sandsmark martin.sandsmark at kde.org
Sat Aug 13 16:23:46 UTC 2016



> On Aug. 13, 2016, 2:36 p.m., Anthony Fieroni wrote:
> > src/TerminalDisplay.cpp, line 432
> > <https://git.reviewboard.kde.org/r/128667/diff/1/?file=474073#file474073line432>
> >
> >     Keep parenting, you should remove manual deleting or parenting, both will make a leak.
> 
> Martin Tobias Holmedahl Sandsmark wrote:
>     aren't layouts automatically reparented to the widgets they're set on?

«The QWidget will take ownership of layout.»


- Martin Tobias Holmedahl


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/128667/#review98356
-----------------------------------------------------------


On Aug. 13, 2016, 11:04 a.m., Martin Tobias Holmedahl Sandsmark wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/128667/
> -----------------------------------------------------------
> 
> (Updated Aug. 13, 2016, 11:04 a.m.)
> 
> 
> Review request for Konsole and Kurt Hindenburg.
> 
> 
> Bugs: 366706
>     http://bugs.kde.org/show_bug.cgi?id=366706
> 
> 
> Repository: konsole
> 
> 
> Description
> -------
> 
> Instead of manually deleting the output suspended label let the QObject cleanup handle it.
> 
> Now it is first deleted manually by us, leading to a potential crash, and afterwards the QObject cleanup runs, but luckily it doesn' try to destroy it again.
> 
> 
> Diffs
> -----
> 
>   src/TerminalDisplay.cpp 4f28837 
> 
> Diff: https://git.reviewboard.kde.org/r/128667/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Martin Tobias Holmedahl Sandsmark
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/konsole-devel/attachments/20160813/7359144f/attachment.html>


More information about the konsole-devel mailing list