Browse Source

Z991239-5298 #comment feat: Do not init Entity again in install mode

chenliangyu 1 year ago
parent
commit
aa3eade615
1 changed files with 2 additions and 0 deletions
  1. 2 0
      Module/mod_chromium/mod_chromium.cpp

+ 2 - 0
Module/mod_chromium/mod_chromium.cpp

@@ -767,6 +767,8 @@ namespace Chromium {
 		case Event_VtmLoader_GetConfig_Suc:
 			g_hasInitCfg = true;
 		case Event_VtmLoader_GetConfig_Fail:
+			if (m_installMode)//Do not init Entity again in install mode
+				break;
 			refreshLogLevel();//后置后需要刷新log level,因为chromium是先启动的实体
 			startWithCfg();
 			break;