From 80f234badf9663431e47a09c8a0852eec1cfdfcb Mon Sep 17 00:00:00 2001 From: Heeyong Song Date: Wed, 1 Feb 2023 15:54:08 +0900 Subject: [PATCH] Do not register processor when registering singleton Change-Id: I31353cf1d513a40f82def9a5f0de3540b88c34dc --- dali/internal/event/common/thread-local-storage.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/dali/internal/event/common/thread-local-storage.cpp b/dali/internal/event/common/thread-local-storage.cpp index 86e848d..077355d 100644 --- a/dali/internal/event/common/thread-local-storage.cpp +++ b/dali/internal/event/common/thread-local-storage.cpp @@ -196,12 +196,6 @@ void ThreadLocalStorage::Register(const std::type_info& info, BaseHandle singlet { DALI_LOG_SINGLETON_SERVICE(Debug::General, "Singleton Added: %s\n", info.name()); mSingletonContainer.push_back(SingletonPair(info.name(), singleton)); - - Integration::Processor* processor = dynamic_cast(&singleton.GetBaseObject()); - if(processor) - { - mCore->RegisterProcessor(*processor); - } } } -- 2.7.4