Fix the scene destroy timing problems - Do sync. scene destroy for non-animation...
authorSeungWon Lee <lsw2000.lee@samsung.com>
Thu, 11 Jul 2013 12:28:49 +0000 (21:28 +0900)
committerSeungWon Lee <lsw2000.lee@samsung.com>
Thu, 11 Jul 2013 12:28:49 +0000 (21:28 +0900)
Change-Id: Iabb2a2b187557f1048717d5177ede726b342d72a
Signed-off-by: SeungWon Lee <lsw2000.lee@samsung.com>
src/ui/scenes/FUiScenes_SceneManagerImpl.cpp

index 7ef400b..45da275 100644 (file)
@@ -1270,11 +1270,11 @@ _SceneManagerImpl::GotoScene(bool forward, const SceneId& sceneId, SceneTransiti
                }
                if (doAnimation)
                {
-                       ReserveDestroyingScene(previousSceneId);                // Destroy the Scene after animator finished(stopped).
+                       ReserveDestroyingScene(previousSceneId);        // Destroy the Scene after animator finished(stopped).
                }
                else
                {
-                       DestroySceneAsync(previousSceneId);
+                       DestroyScene(previousSceneId);                          // Sync destroy for non-animation
                }
        }