Revert "[Tizen](Vector) Check if the object is valid"
authorJoogab Yun <joogab.yun@samsung.com>
Fri, 27 Dec 2019 08:58:40 +0000 (17:58 +0900)
committerJoogab Yun <joogab.yun@samsung.com>
Fri, 27 Dec 2019 08:58:40 +0000 (17:58 +0900)
This reverts commit f265180fce60c90b5f6678d5e3950bbe035cbb0b.

dali-extension/vector-animation-renderer/tizen-vector-animation-manager.cpp
dali-extension/vector-animation-renderer/tizen-vector-animation-renderer.cpp

index d92e569..557bdfd 100755 (executable)
@@ -118,12 +118,7 @@ void TizenVectorAnimationManager::OnEventTriggered()
 
   for( auto&& iter : handlers )
   {
-    // Check if it is valid
-    auto handler = std::find( mEventHandlers.begin(), mEventHandlers.end(), iter );
-    if( handler != mEventHandlers.end() )
-    {
-      iter->NotifyEvent();
-    }
+    iter->NotifyEvent();
   }
 }
 
index 9cbdaf0..ae5dfb4 100755 (executable)
@@ -120,8 +120,6 @@ void TizenVectorAnimationRenderer::Finalize()
 
   mTargetSurface = nullptr;
   mTbmQueue = NULL;
-
-  DALI_LOG_RELEASE_INFO( "TizenVectorAnimationRenderer::Finalize: [%p]\n", this );
 }
 
 void TizenVectorAnimationRenderer::SetRenderer( Renderer renderer )