diff options
Diffstat (limited to 'src/CommonAPI/DBus/DBusSelectiveEvent.h')
-rw-r--r-- | src/CommonAPI/DBus/DBusSelectiveEvent.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/CommonAPI/DBus/DBusSelectiveEvent.h b/src/CommonAPI/DBus/DBusSelectiveEvent.h index e3f2484..313ad9c 100644 --- a/src/CommonAPI/DBus/DBusSelectiveEvent.h +++ b/src/CommonAPI/DBus/DBusSelectiveEvent.h @@ -85,7 +85,10 @@ public: protected: virtual void onLastListenerRemoved(const CancellableListener&) { - associatedDbusProxy_.unsubsribeFromSelectiveBroadcast(DBusEventBase::eventName_, DBusEventBase::subscription_); + associatedDbusProxy_.unsubscribeFromSelectiveBroadcast( + DBusEventBase::eventName_, + DBusEventBase::subscription_, + this); } private: |