}
InProcessDynamicServiceRunner::InProcessDynamicServiceRunner(
- Context* context)
- : keep_alive_(context) {
+ Context* context) {
}
InProcessDynamicServiceRunner::~InProcessDynamicServiceRunner() {
#if !defined(COMPONENT_BUILD)
// Warn on this really weird case: The library requires the GLES2
// control functions, but doesn't require the GLES2 implementation.
- LOG(WARNING) << "App library has MojoSetGLES2ControlThunks, but "
- "doesn't have MojoSetGLES2ImplThunks.";
+ LOG(WARNING) << app_path_.value()
+ << " has MojoSetGLES2ControlThunks, "
+ "but doesn't have MojoSetGLES2ImplThunks.";
#endif
}
MojoMainFunction main_function = reinterpret_cast<MojoMainFunction>(
app_library_.GetFunctionPointer("MojoMain"));
if (!main_function) {
- LOG(ERROR) << "Entrypoint MojoMain not found";
+ LOG(ERROR) << "Entrypoint MojoMain not found: " << app_path_.value();
break;
}
LOG(ERROR) << "MojoMain returned an error: " << result;
} while (false);
- bool success = app_completed_callback_runner_.Run();
+ app_completed_callback_runner_.Run();
app_completed_callback_runner_.Reset();
- LOG_IF(ERROR, !success) << "Failed post run app_completed_callback";
}
} // namespace shell