Updated comment
This commit is contained in:
parent
d4074b42fa
commit
c041026317
1 changed files with 2 additions and 3 deletions
|
@ -46,9 +46,8 @@ NotificationsPlugin::~NotificationsPlugin()
|
||||||
{
|
{
|
||||||
//FIXME: Qt dbus does not allow to remove an adaptor! (it causes a crash in
|
//FIXME: Qt dbus does not allow to remove an adaptor! (it causes a crash in
|
||||||
// the next dbus access to its parent). The implication of not deleting this
|
// the next dbus access to its parent). The implication of not deleting this
|
||||||
// is that disabling the plugin does not remove the interface (that will
|
// is that disabling the plugin leaks the interface. As a mitigation we are
|
||||||
// return outdated values) and that enabling it again instantiates a second
|
// cleaning up the notifications inside the adaptor here.
|
||||||
// adaptor.
|
|
||||||
//notificationsDbusInterface->deleteLater();
|
//notificationsDbusInterface->deleteLater();
|
||||||
notificationsDbusInterface->clearNotifications();
|
notificationsDbusInterface->clearNotifications();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue