diff options
author | Yunchan Cho <yunchan.cho@samsung.com> | 2013-10-21 23:51:02 +0900 |
---|---|---|
committer | Soo-Hyun Choi <sh9.choi@samsung.com> | 2013-10-22 18:07:28 +0900 |
commit | 1fd82bcd2d940006ed340b8216e30bb8f5f516d1 (patch) | |
tree | 26f4e572c5e0d3ba196151299f41553ebb5e1751 | |
parent | 502b1c24c034ece6634ea4786e7a96ed779790cd (diff) | |
download | web-provider-1fd82bcd2d940006ed340b8216e30bb8f5f516d1.tar.gz web-provider-1fd82bcd2d940006ed340b8216e30bb8f5f516d1.tar.bz2 web-provider-1fd82bcd2d940006ed340b8216e30bb8f5f516d1.zip |
Remove aul_terminate_pid call on disconnected callback
[Issue#] N/A
[Problem] web-provider crashes sometimes when the disconnected callback of master provider is called.
[Cause] web-provider requests termination of itself to AUL using aul_terminate_pid.
This is unnecessary job on exit procedure.
[Solution] web-provider removes the code calling aul_terminate_pid on such a situation
[Verification] 1. remove last d-box on the homescreen
2. see if web-provider requests termination of itself to aul, nor not.
and see if web-provider is crashed, or not.
Change-Id: Ibc4f6db7e50dd145dae65616d0f8e9f617511cfd
-rwxr-xr-x | src/Daemon/BoxDaemonImpl.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/Daemon/BoxDaemonImpl.cpp b/src/Daemon/BoxDaemonImpl.cpp index c3b1de2..a262929 100755 --- a/src/Daemon/BoxDaemonImpl.cpp +++ b/src/Daemon/BoxDaemonImpl.cpp @@ -160,8 +160,6 @@ int BoxDaemonImpl::disconnectedCallback(ProviderEventArgPtr arg, void* data) UNUSED_PARAM(arg); UNUSED_PARAM(data); - aul_terminate_pid(getpid()); - return 0; } |