D5409: Queue some connections which cannot be autodetected

Dan Leinir Turthra Jensen noreply at phabricator.kde.org
Wed Apr 12 11:53:55 UTC 2017


leinir created this revision.
Restricted Application added a project: Plasma.
Restricted Application added a subscriber: plasma-devel.

REVISION SUMMARY
  Some of the connections we make are doing cross-thread calls, but in functions which exist on objects which live inside the same thread. Consequently, connect can't auto-detect that they need to be queued, and we end up sometimes (and during searches regularly) crashing because updates happen at the wrong time. I am unsure whether this is quite all of them, but with this patch the search functionality is much less crashy.

REPOSITORY
  R134 Discover Software Store

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

AFFECTED FILES
  libdiscover/backends/KNSBackend/KNSBackend.cpp
  libdiscover/backends/PackageKitBackend/PackageKitBackend.cpp

To: leinir, apol, #discover_software_store
Cc: plasma-devel, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20170412/145259ff/attachment.html>


More information about the Plasma-devel mailing list