diff options
author | Stefan Laner <laner@itestra.de> | 2013-12-04 19:57:20 +0100 |
---|---|---|
committer | Stefan Laner <laner@itestra.de> | 2013-12-04 20:02:27 +0100 |
commit | 0b6e26e261510c01af95ea3ee225815ad28750f7 (patch) | |
tree | 5088167c73c53cd6f5b448d998473a3b108c1197 /src/test/commonapi/tests/managed/SecondRootDBusStubAdapter.cpp | |
parent | 8b93559fdcd3bf76526287bba288fbc8b6a77050 (diff) | |
download | genivi-common-api-dbus-runtime-0b6e26e261510c01af95ea3ee225815ad28750f7.tar.gz |
Broke shared_ptr cycle between generated stub, DBusStubAdapter and
DBusStubAdapterHelper by using a weak_ptr. Also removed some cout calls
in tests and updated generated code for tests.
Change-Id: I54399dabeedb2960b91df36772d64d1efc6030d6
Diffstat (limited to 'src/test/commonapi/tests/managed/SecondRootDBusStubAdapter.cpp')
-rw-r--r-- | src/test/commonapi/tests/managed/SecondRootDBusStubAdapter.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/test/commonapi/tests/managed/SecondRootDBusStubAdapter.cpp b/src/test/commonapi/tests/managed/SecondRootDBusStubAdapter.cpp index a6c7c6d..57c12b1 100644 --- a/src/test/commonapi/tests/managed/SecondRootDBusStubAdapter.cpp +++ b/src/test/commonapi/tests/managed/SecondRootDBusStubAdapter.cpp @@ -35,7 +35,6 @@ __attribute__((constructor)) void registerSecondRootDBusStubAdapter(void) { SecondRootDBusStubAdapterInternal::~SecondRootDBusStubAdapterInternal() { deactivateManagedInstances(); SecondRootDBusStubAdapterHelper::deinit(); - SecondRootDBusStubAdapterHelper::stub_.reset(); } void SecondRootDBusStubAdapterInternal::deactivateManagedInstances() { |