EnginePtr Engine::create()
{
LOG_DEBUG(TAG, "create");
std::lock_guard<std::mutex> lock(g_mutex);
if (g_instance.lock()){
LOG_ERROR(TAG, "already exists");
EnginePtr Engine::create()
{
LOG_DEBUG(TAG, "create");
std::lock_guard<std::mutex> lock(g_mutex);
if (g_instance.lock()){
LOG_ERROR(TAG, "already exists");