[4.0] check if event is called from main thread always 17/153317/1
authorJinho, Lee <jeano.lee@samsung.com>
Thu, 28 Sep 2017 04:28:19 +0000 (13:28 +0900)
committerJinho, Lee <jeano.lee@samsung.com>
Thu, 28 Sep 2017 04:28:19 +0000 (13:28 +0900)
This reverts commit 2d7d2e258f73bb63f895c048b149aa180aae7b2d.

Change-Id: I3fe1e5334840700fb189a90b7dd9782a7d0cc8c9

dali/internal/event/common/object-impl.h [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index 89fc73f..73e59e9
@@ -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;
   }