From 1fd82bcd2d940006ed340b8216e30bb8f5f516d1 Mon Sep 17 00:00:00 2001 From: Yunchan Cho Date: Mon, 21 Oct 2013 23:51:02 +0900 Subject: 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 --- src/Daemon/BoxDaemonImpl.cpp | 2 -- 1 file changed, 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; } -- cgit v1.2.3