From: Sunwook Bae Date: Wed, 27 Mar 2013 11:08:53 +0000 (+0900) Subject: Fix the block issue in DataControl X-Git-Tag: accepted/tizen_2.1/20130425.034849~213 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2e7347c345d477a8d7d395cc52865f9128cab107;p=platform%2Fframework%2Fnative%2Fappfw.git Fix the block issue in DataControl Change-Id: I1bb7528a6626028617cbff3e425cdbed94c536cf Signed-off-by: Sunwook Bae --- diff --git a/src/app/FApp_MapDataControlImpl.cpp b/src/app/FApp_MapDataControlImpl.cpp index 1b86d02..70bf7cf 100644 --- a/src/app/FApp_MapDataControlImpl.cpp +++ b/src/app/FApp_MapDataControlImpl.cpp @@ -33,6 +33,7 @@ #include #include +#include #include "FApp_AppControlManager.h" #include "FApp_MapDataControlImpl.h" @@ -164,6 +165,10 @@ _MapDataControlImpl::StartMapDataControl(int type, const IList* pDataList, int* _AppControlManager* pAppManagerImpl = _AppControlManager::GetInstance(); int req = -1; + // Proceeds the previous request + WaitingLoop* pLoop = WaitingLoop::GetInstance(); + pLoop->Wait(30); + if (__pMapDataControlEvent) { // reqId is system-wide id because the bundle is system-wide.