D12371: fix always reproducible crash
Jaime Torres Amate
noreply at phabricator.kde.org
Fri Apr 20 12:44:36 UTC 2018
jtamate added a comment.
In D12371#250366 <https://phabricator.kde.org/D12371#250366>, @apol wrote:
> ^^' this won't work though. If the object gets deleted you will get a null pointer in the list.
If the QPointer kdl detects that the guarded pointer is invalid it is removed from the list.
if (kdl.isNull()) {
curHolders.removeAll(kdl);
}
I'm unable to create the crash.
REPOSITORY
R241 KIO
REVISION DETAIL
https://phabricator.kde.org/D12371
To: jtamate, dfaure, #frameworks, apol
Cc: apol, michaelh, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180420/2ea8ecf6/attachment.html>
More information about the Kde-frameworks-devel
mailing list