From 39973e98cafadd27e06f611d29cdd8b5979136b8 Mon Sep 17 00:00:00 2001 From: "Eunki, Hong" Date: Tue, 27 Aug 2024 14:21:01 +0900 Subject: [PATCH] Check adaptor validation instead of stage installed Change-Id: Id94b086b8551f94c58d5c6fe24a07d0fc460b02f Signed-off-by: Eunki, Hong --- dali-csharp-binder/common/processor-controller.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dali-csharp-binder/common/processor-controller.cpp b/dali-csharp-binder/common/processor-controller.cpp index 51fb89dd..fd639296 100644 --- a/dali-csharp-binder/common/processor-controller.cpp +++ b/dali-csharp-binder/common/processor-controller.cpp @@ -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(); -- 2.34.1