D27126: [SNI] Fix race condition in item registration

Konrad Materka noreply at phabricator.kde.org
Mon Feb 3 13:09:20 GMT 2020


kmaterka created this revision.
kmaterka added reviewers: Plasma: Workspaces, Plasma.
kmaterka added a project: Plasma.
kmaterka requested review of this revision.

REVISION SUMMARY
  If StatusNotifierItem is registered and then immediately destroyed, it is possible that QDBusServiceWatcher will not emit the serviceUnregistered signal.
  Add an additional check to avoid such situations.
  
  BUG: 416652
  FIXED-IN: 5.18.0

TEST PLAN
  Telegram should not add empty items.

REPOSITORY
  R120 Plasma Workspace

BRANCH
  master

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

AFFECTED FILES
  statusnotifierwatcher/statusnotifierwatcher.cpp

To: kmaterka, #plasma_workspaces, #plasma
Cc: plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, jraleigh, zachus, fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20200203/a886d4e2/attachment-0001.html>


More information about the Plasma-devel mailing list