Updated comment

This commit is contained in:
Albert Vaca 2015-06-14 19:02:47 -07:00
parent d4074b42fa
commit c041026317

View file

@ -46,9 +46,8 @@ NotificationsPlugin::~NotificationsPlugin()
{
//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
// is that disabling the plugin does not remove the interface (that will
// return outdated values) and that enabling it again instantiates a second
// adaptor.
// is that disabling the plugin leaks the interface. As a mitigation we are
// cleaning up the notifications inside the adaptor here.
//notificationsDbusInterface->deleteLater();
notificationsDbusInterface->clearNotifications();
}