Change-Id: I8e86d8c995fcca8ddd49f3246ed4efafcc294a8e
#ifdef WATCH_FACE_FEATURE_SUPPORT
} else {
if (appdata->app_type() == common::ApplicationData::WATCH) {
- ecore_wl_shutdown();
- ecore_wl_init(NULL);
+ // Below code will be enabled after testing
+ //ecore_wl_shutdown();
+ //ecore_wl_init(NULL);
}
#endif // WATCH_FACE_FEATURE_SUPPORT
}
ret = runtime->Exec(argc, argv);
runtime.reset();
}
-#ifndef PROFILE_WEARABLE
- LOGGER(DEBUG) << "ewk_shutdown() called";
ewk_shutdown();
-#endif
exit(ret);
return EXIT_SUCCESS;
}
void UiRuntime::OnTerminate() {
+ application_.reset();
+ native_window_.reset();
}
void UiRuntime::OnPause() {
}
void WatchRuntime::OnTerminate() {
+ if (application_) {
+ delete application_;
+ application_ = nullptr;
+ }
+ if (native_window_) {
+ delete native_window_;
+ native_window_ = nullptr;
+ }
}
void WatchRuntime::OnPause() {