diff options
author | Ingo Huerner <ingo_huerner@mentor.com> | 2017-03-27 08:44:58 +0200 |
---|---|---|
committer | Ingo Huerner <ingo_huerner@mentor.com> | 2017-03-27 08:44:58 +0200 |
commit | 40d76047857da753851ac7906b77a6b120f353bd (patch) | |
tree | 30ea05fbbfc5a2810ebfd10e28336a953ed37fae | |
parent | 03fa5d83d582cb54acb4dc00a11715523d936fbf (diff) | |
download | persistence-client-library-40d76047857da753851ac7906b77a6b120f353bd.tar.gz |
Removed call dbus_shutdown() when ending dbus mainloop
-rw-r--r-- | src/persistence_client_library_dbus_service.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/persistence_client_library_dbus_service.c b/src/persistence_client_library_dbus_service.c index 981982e..d38614a 100644 --- a/src/persistence_client_library_dbus_service.c +++ b/src/persistence_client_library_dbus_service.c @@ -607,7 +607,8 @@ int setup_dbus_mainloop(void) dbus_connection_close(conn); dbus_connection_unref(conn); - dbus_shutdown(); + //dbus_shutdown(); // according to dbus documentation it is not neccessary to call dbus_shutdown: + // There is absolutely no requirement to call dbus_shutdown() - in fact, most applications won't bother and should not feel guilty. rval = EPERS_COMMON; } @@ -782,7 +783,8 @@ void* mainLoop(void* userData) dbus_connection_close(conn); dbus_connection_unref(conn); - dbus_shutdown(); + //dbus_shutdown(); // according to dbus documentation it is not neccessary to call dbus_shutdown: + // There is absolutely no requirement to call dbus_shutdown() - in fact, most applications won't bother and should not feel guilty. return NULL; } |