From 2a218ce8f0872495bce0f9a741df8fc3c0ddf227 Mon Sep 17 00:00:00 2001 From: SeungWon Lee Date: Thu, 11 Jul 2013 21:28:49 +0900 Subject: [PATCH] Fix the scene destroy timing problems - Do sync. scene destroy for non-animation case. Change-Id: Iabb2a2b187557f1048717d5177ede726b342d72a Signed-off-by: SeungWon Lee --- src/ui/scenes/FUiScenes_SceneManagerImpl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ui/scenes/FUiScenes_SceneManagerImpl.cpp b/src/ui/scenes/FUiScenes_SceneManagerImpl.cpp index 7ef400b..45da275 100644 --- a/src/ui/scenes/FUiScenes_SceneManagerImpl.cpp +++ b/src/ui/scenes/FUiScenes_SceneManagerImpl.cpp @@ -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 } } -- 2.7.4