D15047: Export the StorageDevices object.
Stefan BrĂ¼ns
noreply at phabricator.kde.org
Fri Aug 24 14:46:18 BST 2018
bruns added a comment.
In D15047#314485 <https://phabricator.kde.org/D15047#314485>, @smithjd wrote:
> In D15047#314477 <https://phabricator.kde.org/D15047#314477>, @bruns wrote:
>
> > There is no need for this, just create a new StorageDevices where you need it.
> > Creating a second StorageDevices instance in a process is quite cheap.
>
>
> Creating a separate object cluttered the console with duplicated debug output and raised a threading error.
Then your code is wrong anyway. This is lazy initialization, and if you can not not guarantee it is save to do so, don't do it.
REPOSITORY
R293 Baloo
REVISION DETAIL
https://phabricator.kde.org/D15047
To: smithjd, broulik
Cc: bruns, kde-frameworks-devel, #baloo, ashaposhnikov, michaelh, astippich, spoorun, ngraham, abrahams
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180824/f67185c7/attachment.html>
More information about the Kde-frameworks-devel
mailing list