fix: 收敛旧模块资源释放与诊断
This commit is contained in:
@@ -3,6 +3,7 @@ using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using Xilium.CefGlue;
|
||||
using Lskj.Business;
|
||||
|
||||
namespace Lskj.Control.BrowserSetting2
|
||||
{
|
||||
@@ -46,7 +47,9 @@ namespace Lskj.Control.BrowserSetting2
|
||||
|
||||
protected override void OnRenderProcessTerminated(CefBrowser browser, CefTerminationStatus status)
|
||||
{
|
||||
browser.Reload();
|
||||
// Do not start a new renderer during native teardown.
|
||||
LogUtil.WriteError("CEF 渲染进程已终止,状态=" + status,
|
||||
new InvalidOperationException("CEF renderer termination status=" + status));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user