From 9f805c3dbed9a878e9f423a93dbd07b04d182768 Mon Sep 17 00:00:00 2001 From: Seoyeon Kim Date: Mon, 16 Oct 2017 11:21:34 +0900 Subject: [PATCH] [4.0] check if event is called from main thread always This reverts commit ed5a6eb14f1a3f78f2042eb4c6f33c513472fbd0. Change-Id: I5bb2f8035be04c8e4fcb0509aaa4a713412e4a29 --- dali/internal/event/common/object-impl.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) mode change 100644 => 100755 dali/internal/event/common/object-impl.h diff --git a/dali/internal/event/common/object-impl.h b/dali/internal/event/common/object-impl.h old mode 100644 new mode 100755 index 89fc73f..73e59e9 --- a/dali/internal/event/common/object-impl.h +++ b/dali/internal/event/common/object-impl.h @@ -562,7 +562,7 @@ protected: */ inline EventThreadServices& GetEventThreadServices() { - DALI_ASSERT_DEBUG( EventThreadServices::IsCoreRunning() ); + DALI_ASSERT_ALWAYS( EventThreadServices::IsCoreRunning() ); return mEventThreadServices; } @@ -575,7 +575,7 @@ protected: */ inline const EventThreadServices& GetEventThreadServices() const { - DALI_ASSERT_DEBUG( EventThreadServices::IsCoreRunning() ); + DALI_ASSERT_ALWAYS( EventThreadServices::IsCoreRunning() ); return mEventThreadServices; } -- 2.7.4