diff options
author | Stefan Laner <laner@itestra.de> | 2013-11-28 18:41:45 +0100 |
---|---|---|
committer | Philip Rauwolf <rauwolf@itestra.de> | 2013-11-29 16:20:47 +0100 |
commit | 8b93559fdcd3bf76526287bba288fbc8b6a77050 (patch) | |
tree | a9782ca85716886b95de597cf7f44b8e46796089 /src/CommonAPI/DBus/DBusProxy.cpp | |
parent | e0af53f2058965dd83a3585b9000f947d9f36cd7 (diff) | |
download | genivi-common-api-dbus-runtime-8b93559fdcd3bf76526287bba288fbc8b6a77050.tar.gz |
Fixed bug that prevents proxy connections from being destroyed because
of a circular dependency between DBusConnection and DBusServiceRegistry.
Also removed bug that prevented ServiceRegistry-callbacks from being
deregistered correctly. Extended tests, some formatting issues, fixed
one spelling error.
Change-Id: I6cf2148375f4c086e60f0ad642415056bd808759
Diffstat (limited to 'src/CommonAPI/DBus/DBusProxy.cpp')
-rw-r--r-- | src/CommonAPI/DBus/DBusProxy.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/CommonAPI/DBus/DBusProxy.cpp b/src/CommonAPI/DBus/DBusProxy.cpp index 0962788..24e39a1 100644 --- a/src/CommonAPI/DBus/DBusProxy.cpp +++ b/src/CommonAPI/DBus/DBusProxy.cpp @@ -139,9 +139,10 @@ DBusProxyConnection::DBusSignalHandlerToken DBusProxy::subscribeForSelectiveBroa this); } -void DBusProxy::unsubsribeFromSelectiveBroadcast(const std::string& eventName, - DBusProxyConnection::DBusSignalHandlerToken subscription) { - getDBusConnection()->unsubsribeFromSelectiveBroadcast(eventName, subscription, this); +void DBusProxy::unsubscribeFromSelectiveBroadcast(const std::string& eventName, + DBusProxyConnection::DBusSignalHandlerToken subscription, + const DBusProxyConnection::DBusSignalHandler* dbusSignalHandler) { + getDBusConnection()->unsubscribeFromSelectiveBroadcast(eventName, subscription, this, dbusSignalHandler); } } // namespace DBus |