Revert "Remove unnecessary function call" 15/281515/1
authorHwankyu Jhun <h.jhun@samsung.com>
Mon, 19 Sep 2022 22:57:27 +0000 (22:57 +0000)
committerHwankyu Jhun <h.jhun@samsung.com>
Mon, 19 Sep 2022 22:57:34 +0000 (22:57 +0000)
This reverts commit cb46f00a543a64627561e864ffb15622d4680133.

Change-Id: Ib32d52ef607a51031d41e5ebb28fb968edd91ae7

tizen-cpp/app-core-ui-cpp/app_core_ui_base.cc

index 5733b83..0cf24a8 100644 (file)
@@ -436,6 +436,9 @@ void AppCoreUiBase::DoExit() {
 
 void AppCoreUiBase::Impl::Run(int argc, char** argv) {
   if (hint_ & HINT_DUAL_THREAD) {
+    // For the loader case
+    while (ecore_shutdown() != 0);
+
     service_ = parent_->CreateTask();
     context_ = g_main_context_new();
     std::string env = std::to_string(