From: Eunki, Hong Date: Tue, 27 Aug 2024 05:21:01 +0000 (+0900) Subject: Check adaptor validation instead of stage installed X-Git-Tag: dali_2.3.39~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=39973e98cafadd27e06f611d29cdd8b5979136b8;p=platform%2Fcore%2Fuifw%2Fdali-csharp-binder.git Check adaptor validation instead of stage installed Change-Id: Id94b086b8551f94c58d5c6fe24a07d0fc460b02f Signed-off-by: Eunki, Hong --- 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();