summaryrefslogtreecommitdiff
path: root/src/CommonAPI/DBus/DBusStubAdapter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/CommonAPI/DBus/DBusStubAdapter.cpp')
-rw-r--r--src/CommonAPI/DBus/DBusStubAdapter.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/CommonAPI/DBus/DBusStubAdapter.cpp b/src/CommonAPI/DBus/DBusStubAdapter.cpp
index 27a10fe..67cfacd 100644
--- a/src/CommonAPI/DBus/DBusStubAdapter.cpp
+++ b/src/CommonAPI/DBus/DBusStubAdapter.cpp
@@ -41,10 +41,13 @@ DBusStubAdapter::DBusStubAdapter(const std::string& commonApiAddress,
}
DBusStubAdapter::~DBusStubAdapter() {
+}
+
+void DBusStubAdapter::deinit() {
assert(dbusConnection_);
assert(isInitialized_);
- dbusConnection_->getDBusObjectManager()->unregisterInterfaceHandler(dbusIntrospectionInterfaceHandlerToken_);
+ dbusConnection_->getDBusObjectManager()->unregisterInterfaceHandler(dbusIntrospectionInterfaceHandlerToken_);
dbusConnection_->getDBusObjectManager()->unregisterInterfaceHandler(dbusInterfaceHandlerToken_);
}