Exception:CoreWebView2 members cannot be accessed after the WebView2 control is disposed.组或资源的状态不是执行请求操作的正确状态。 (异常来自 HRESULT:0x8007139F)

报错信息 1
InvalidOperationException: CoreWebView2 members cannot be accessed after the WebView2 control is disposed.
StackTrace:
   在 Nutstore.NamespaceExt.NsRoot.c99621ddb9baf13fddd527b47bfcceb5a(Object c8a32308746d10fb8dae1e171f9ea9739, UnhandledExceptionEventArgs c3a85d15dc0553d1b4a4b5dfeb4d44681)

COMException: 组或资源的状态不是执行请求操作的正确状态。 (异常来自 HRESULT:0x8007139F)
StackTrace:
   在 Microsoft.Web.WebView2.Core.Raw.ICoreWebView2_13.get_Profile()
   在 Microsoft.Web.WebView2.Core.CoreWebView2.get_Profile()

版本:1.42.6 2024-04-28 08:57 Microsoft Windows NT 10.0.19045.0