D9905: Don't create multiple in-process backend instances

Daniel Vrátil noreply at phabricator.kde.org
Mon Jan 15 21:23:09 UTC 2018


dvratil created this revision.
dvratil added reviewers: sebas, davidedmundson.
Restricted Application added a project: Plasma.
Restricted Application added a subscriber: plasma-devel.
dvratil requested review of this revision.

REVISION SUMMARY
  The 'name' argument is in most cases empty by which the caller indicates that
  they want the default backend. As such repeated calls to loadBackendInProcess(QString())
  cause to instantiate a new backend every time, because the name check in the
  condition is never true.

REPOSITORY
  R110 KScreen Library

BRANCH
  master

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

AFFECTED FILES
  src/backendmanager.cpp

To: dvratil, sebas, davidedmundson
Cc: plasma-devel, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20180115/4746faac/attachment.html>


More information about the Plasma-devel mailing list