Fix the block issue in DataControl
authorSunwook Bae <sunwook45.bae@samsung.com>
Wed, 27 Mar 2013 11:08:53 +0000 (20:08 +0900)
committerSunwook Bae <sunwook45.bae@samsung.com>
Wed, 27 Mar 2013 11:09:52 +0000 (20:09 +0900)
Change-Id: I1bb7528a6626028617cbff3e425cdbed94c536cf
Signed-off-by: Sunwook Bae <sunwook45.bae@samsung.com>
src/app/FApp_MapDataControlImpl.cpp

index 1b86d02..70bf7cf 100644 (file)
@@ -33,6 +33,7 @@
 #include <FAppIMapDataControlResponseListener.h>
 
 #include <FBaseSysLog.h>
+#include <FBaseRtWaitingLoop.h>
 
 #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.