ecore_init() must called before CoreRuntime initialization.
But, sometimes, calling ecore_init() is missed by mistake.
In order to prevent this mistake, call ecore_init() in the constructor of CoreRuntime.
#include <vconf.h>
#include <app_common.h>
+#include <Ecore.h>
+
#include "injection.h"
#include "utils.h"
#include "log.h"
{
_INFO("Constructor called!!");
+ // Intiailize ecore first (signal handlers, etc.) before runtime init.
+ ecore_init();
+
char *env = nullptr;
env = getenv("CORECLR_ENABLE_PROFILING");
if (env != nullptr && !strcmp(env, "1")) {
#include <vector>
#include <memory>
-#include <Ecore.h>
#include <Eina.h>
#include <aul.h>
#include <sys/types.h>
std::unique_ptr<CoreRuntime> runtime(new CoreRuntime(mode));
- // Intiailize ecore first (signal handlers, etc.) before runtime init.
- ecore_init();
-
if (corerunMode) {
_INFO("##### Run in corerun mode #####");
char appId[APPID_MAX_LENGTH] = {0,};