ui_app_exit() will be called from app_framework.
Change-Id: I5dff161b758d809d46eb68334cc28efe3ad477ed
return ret;
}
- //Terminate ui_app. Remove all ui_app resources.
- ret = ui_application_term();
- if (ret != UI_VIEWMGR_ERROR_NONE)
- {
- dlog_print(DLOG_ERROR, LOG_TAG, "ui_app_term() is failed ret = %d", ret);
- return ret;
- }
-
return 0;
}
{
this->_impl->_term();
delete(this->_impl);
- ui_app_exit();
}
int UiBaseViewmgr::activate()
EAPI int ui_application_term(void)
{
- ui_app_capi *app = g_app;
- if (app) delete (app);
- g_app = nullptr;
+ ui_app_exit();
return UI_VIEWMGR_ERROR_NONE;
}
void UiIfaceApp::onTerminate()
{
+ delete(this);
}
UiIfaceApp::UiIfaceApp(UiIfaceViewmgr *viewmgr)
}
this->_destroying = EINA_FALSE;
- ui_app_exit();
-
UiIfaceViewmgrImpl::_inst = nullptr;
}