Bug fix: do not close dbus io stream when group/user service was stopped. 96/99096/1
authorYunmi Ha <yunmi.ha@samsung.com>
Tue, 22 Nov 2016 01:55:33 +0000 (10:55 +0900)
committerYunmi Ha <yunmi.ha@samsung.com>
Tue, 22 Nov 2016 01:55:33 +0000 (10:55 +0900)
commit1c25a3cfa328a407cd2f4af59d8fe3a2b0e59cb0
treee19af0baeb42cb73aaea7f0d4f7da73597f55e7a
parent135edea6d686bc161ce4f2afdc0c33a6c4aefca9
Bug fix: do not close dbus io stream when group/user service was stopped.

Reason:
group/user services are run each other and share same parents connection.
However, when one service terminates, close a common IO stream.
So remained service has a problem with that IO stream.

Fix:
When main dbus service(usermanagement) is stopped, close IO stream.
(Move logic)

Change-Id: Iac30465b2c8a927934f9b3595a204833098168a1
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
src/daemon/dbus/gumd-dbus-group-service-adapter.c
src/daemon/dbus/gumd-dbus-server-msg-bus.c
src/daemon/dbus/gumd-dbus-user-service-adapter.c