fixed N_SE-37955 : ProgressPopup Animation Stop
authorDongJinJeon <dongjin2193.jeon@samsung.com>
Thu, 9 May 2013 08:49:16 +0000 (17:49 +0900)
committerDongJinJeon <dongjin2193.jeon@samsung.com>
Thu, 9 May 2013 08:49:16 +0000 (17:49 +0900)
Change-Id: Id0bdb317fa0716f5a53f20bf4095900e118c1ab0
Signed-off-by: DongJinJeon <dongjin2193.jeon@samsung.com>
src/ui/controls/FUiCtrl_ProgressPopupPresenter.cpp

index 6406907..1eca1a5 100644 (file)
@@ -374,12 +374,15 @@ _ProgressPopupPresenter::PlayProcessAnimation(void)
 result
 _ProgressPopupPresenter::StopProcessAnimation(void)
 {
-       __pAnimation->Stop();
+       if (__pAnimation != null)
+       {
+               __pAnimation->Stop();
 
-       __pProgressPopup->DetachChild(*__pAnimation);
+               __pProgressPopup->DetachChild(*__pAnimation);
 
-       delete __pAnimation;
-       __pAnimation = null;
+               delete __pAnimation;
+               __pAnimation = null;
+       }
 
        return E_SUCCESS;
 }