D10824: Delete IdleSlave having temporary authorization
Chinmoy Ranjan Pradhan
noreply at phabricator.kde.org
Sun Mar 4 11:09:54 UTC 2018
chinmoyr added inline comments.
INLINE COMMENTS
> dfaure wrote in klauncher.cpp:1114
> This deletes the Slave C++ class, but it doesn't actually kill the ioslave.
> So why do it?
>
> I'm confused now. Do you want to kill the ioslave (then call slave->kill())
> or do you want to reuse that ioslave, just without any of the previous authorizations (which is what I thought you were doing in slaveStatus()) ?
> If the latter, then why the delete here?
I meant to kill the slave and not reuse it.
And IdleSlave subclasses QObject and doesn't have kill() which is why I used deleteLater which actually kills the IdleSlave.
REPOSITORY
R303 KInit
REVISION DETAIL
https://phabricator.kde.org/D10824
To: chinmoyr, dfaure, #frameworks
Cc: #frameworks, michaelh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180304/1c0380a1/attachment.html>
More information about the Kde-frameworks-devel
mailing list