D19029: Guard virtualDesktopManagement being accessed before fetched

David Edmundson noreply at phabricator.kde.org
Fri Feb 15 02:35:59 GMT 2019


davidedmundson created this revision.
davidedmundson added a reviewer: Plasma.
Herald added a project: Plasma.
Herald added a subscriber: plasma-devel.
davidedmundson requested review of this revision.

REVISION SUMMARY
  The WaylandPrivate::virtualDesktopManagement object is loaded
  asyncronously.
  
  It's null until we finish fetching the registry.
  
  A code path could call the desktopNames in that time.

TEST PLAN
  Had a crash
  Couldn't reproduce reliably

REPOSITORY
  R120 Plasma Workspace

BRANCH
  master

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

AFFECTED FILES
  libtaskmanager/virtualdesktopinfo.cpp

To: davidedmundson, #plasma
Cc: plasma-devel, jraleigh, GB_2, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20190215/6e587d54/attachment.html>


More information about the Plasma-devel mailing list