Check adaptor validation instead of stage installed 98/316698/1
authorEunki, Hong <eunkiki.hong@samsung.com>
Tue, 27 Aug 2024 05:21:01 +0000 (14:21 +0900)
committerEunki, Hong <eunkiki.hong@samsung.com>
Tue, 27 Aug 2024 05:21:01 +0000 (14:21 +0900)
Change-Id: Id94b086b8551f94c58d5c6fe24a07d0fc460b02f
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
dali-csharp-binder/common/processor-controller.cpp

index 51fb89ddbd100dedc3a7ccc5d2064187594dbffc..fd639296caa44b44503fcaaac919d7d55ce86260 100644 (file)
@@ -113,7 +113,7 @@ void ProcessorController::Awake()
 
   if(!mProcessingEvents && !mKeepRenderingApplied)
   {
-    if(DALI_LIKELY(Dali::Stage::IsInstalled())) ///< Avoid worker thread calling.
+    if(DALI_LIKELY(Dali::Adaptor::IsAvailable())) ///< Avoid worker thread calling.
     {
       auto stage = Dali::Stage::GetCurrent();
       stage.KeepRendering(0.0f);
@@ -122,7 +122,7 @@ void ProcessorController::Awake()
   }
   else if(mProcessingEvents && !mProcessEventsIdleRequested)
   {
-    if(DALI_LIKELY(Dali::Stage::IsInstalled())) ///< Avoid worker thread calling.
+    if(DALI_LIKELY(Dali::Adaptor::IsAvailable())) ///< Avoid worker thread calling.
     {
       // Request ProcessEvents on idle when we are processing now.
       Dali::Adaptor::Get().RequestProcessEventsOnIdle();