broulik created this revision. broulik added a reviewer: Plasma. Herald added a project: Plasma. Herald added a subscriber: plasma-devel. broulik requested review of this revision.
REVISION SUMMARY An application could have multiple inhibitions. Release all of them when the service unregisters (process dies). TEST PLAN - Made a test app which called Inhibit twice, killed it, do not disturb mode was properly quit REPOSITORY R120 Plasma Workspace REVISION DETAIL https://phabricator.kde.org/D26125 AFFECTED FILES libnotificationmanager/server_p.cpp To: broulik, #plasma Cc: plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, zachus, fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart