cef初始化问题修复
This commit is contained in:
1 parent
389c975e16
commit
bdf87cf0dd
1 file changed
+1
-1
+1
-1
@@ -211,7 +211,7 @@ namespace TemuKJD
|
||||
//138版cef自己不会分缓存,会因占用导致报错,手动分缓存
|
||||
//settings.CachePath = Path.Combine(Environment.CurrentDirectory, "Cache\\" + ProcessCount);
|
||||
settings.RootCachePath = Path.Combine(Environment.CurrentDirectory, "Cache");
|
||||
//settings.CachePath = Path.Combine(settings.RootCachePath, ProcessCount.ParseToString());
|
||||
settings.CachePath = Path.Combine(settings.RootCachePath, ProcessCount.ParseToString());
|
||||
//settings.CachePath = null; //禁止缓存
|
||||
//settings.CefCommandLineArgs.Add("enable-javascript", "1");
|
||||
//settings.CefCommandLineArgs.Add("disable-features", "NetworkService,NetworkServiceInProcess");
|
||||
|
||||
Reference in new issue
Block a user