Home
last modified time | relevance | path

Searched refs:g_scriptManager (Results 1 – 1 of 1) sorted by relevance

/base/update/updater/services/script/script_manager/
Dscript_managerImpl.cpp33 static ScriptManagerImpl* g_scriptManager = nullptr; variable
38 if (g_scriptManager == nullptr) { in GetScriptManager()
39 g_scriptManager = new(std::nothrow) ScriptManagerImpl(env); in GetScriptManager()
40 USCRIPT_CHECK(g_scriptManager != nullptr, return nullptr, "Create g_scriptManager failed"); in GetScriptManager()
41 (void)g_scriptManager->Init(); in GetScriptManager()
43 return g_scriptManager; in GetScriptManager()
48 if (g_scriptManager != nullptr) { in ReleaseScriptManager()
49 delete g_scriptManager; in ReleaseScriptManager()
51 g_scriptManager = nullptr; in ReleaseScriptManager()