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:
   在 Microsoft.Web.WebView2.Core.CoreWebView2.get_Profile()
   在 Microsoft.Web.WebView2.Wpf.WebView2.Uninitialize(Boolean browserCrashed)
   在 Microsoft.Web.WebView2.Wpf.WebView2.Dispose(Boolean disposing)
   在 System.Windows.Interop.HwndHost.WeakEventDispatcherShutdown.OnShutdownFinished(Object sender, EventArgs e)
   在 System.EventHandler.Invoke(Object sender, EventArgs e)
   在 System.Windows.Threading.Dispatcher.ShutdownImplInSecurityContext(Object state)
   在 MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(Object obj)
   在 System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   在 MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
   在 System.Windows.Threading.Dispatcher.ShutdownImpl()
   在 System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
   在 System.Windows.Application.RunDispatcher(Object ignore)
   在 System.Windows.Application.RunInternal(Window window)
   在 Quicker.App.Main()

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

版本:1.42.15 2024-05-08 10:33 Microsoft Windows NT 10.0.18363.0
版本:1.42.15 2024-05-07 12:37 Microsoft Windows NT 10.0.19045.0
版本:1.42.15 2024-05-06 10:53 Microsoft Windows NT 10.0.19044.0
版本:1.42.15 2024-05-05 15:33 Microsoft Windows NT 10.0.19045.0
版本:1.42.15 2024-04-29 23:42 Microsoft Windows NT 10.0.19045.0
版本:1.42.15 2024-04-29 13:11 Microsoft Windows NT 10.0.19045.0
版本:1.42.15 2024-04-27 12:52 Microsoft Windows NT 10.0.22635.0
版本:1.42.15 2024-04-24 12:50 Microsoft Windows NT 10.0.19045.0
版本:1.42.15 2024-04-22 19:01 Microsoft Windows NT 10.0.19045.0
版本:1.42.15 2024-04-22 00:29 Microsoft Windows NT 10.0.19044.0
版本:1.42.15 2024-04-20 11:07 Microsoft Windows NT 10.0.18363.0
版本:1.42.15 2024-04-18 17:49 Microsoft Windows NT 10.0.18363.0
版本:1.42.15 2024-04-18 15:07 Microsoft Windows NT 10.0.18363.0
版本:1.42.15 2024-04-18 07:58 Microsoft Windows NT 10.0.19045.0
版本:1.42.15 2024-04-17 19:50 Microsoft Windows NT 10.0.19045.0
版本:1.42.15 2024-04-17 16:27 Microsoft Windows NT 10.0.18363.0
版本:1.42.15 2024-04-16 09:52 Microsoft Windows NT 10.0.19044.0
版本:1.42.15 2024-04-16 08:31 Microsoft Windows NT 10.0.19041.0
版本:1.42.15 2024-04-15 20:49 Microsoft Windows NT 10.0.19045.0
版本:1.42.15 2024-04-15 17:54 Microsoft Windows NT 10.0.19045.0
版本:1.42.15 2024-04-15 14:16 Microsoft Windows NT 10.0.18363.0
版本:1.42.15 2024-04-15 08:52 Microsoft Windows NT 10.0.19045.0
版本:1.42.15 2024-04-14 19:39 Microsoft Windows NT 10.0.18362.0
版本:1.42.15 2024-04-14 01:12 Microsoft Windows NT 10.0.19042.0
版本:1.42.15 2024-04-13 17:08 Microsoft Windows NT 10.0.19045.0
版本:1.42.15 2024-04-13 14:19 Microsoft Windows NT 10.0.19045.0
版本:1.42.15 2024-04-12 14:12 Microsoft Windows NT 10.0.18363.0
版本:1.42.15 2024-04-12 11:30 Microsoft Windows NT 10.0.19045.0
版本:1.42.15 2024-04-11 11:12 Microsoft Windows NT 10.0.16299.0
版本:1.42.15 2024-04-11 09:27 Microsoft Windows NT 10.0.19045.0
版本:1.42.15 2024-04-11 07:49 Microsoft Windows NT 10.0.18363.0
版本:1.42.15 2024-04-10 17:20 Microsoft Windows NT 10.0.18363.0
版本:1.42.15 2024-04-09 19:54 Microsoft Windows NT 10.0.19042.0
版本:1.42.15 2024-04-09 19:45 Microsoft Windows NT 10.0.19045.0
版本:1.42.15 2024-04-09 18:55 Microsoft Windows NT 10.0.19045.0
版本:1.42.15 2024-04-09 14:43 Microsoft Windows NT 10.0.19045.0
版本:1.42.15 2024-04-09 09:39 Microsoft Windows NT 10.0.19045.0
报错信息 2
InvalidOperationException: CoreWebView2 members cannot be accessed after the WebView2 control is disposed.
StackTrace:
   在 Microsoft.Web.WebView2.Core.CoreWebView2Controller.MoveFocus(CoreWebView2MoveFocusReason reason)
   在 Microsoft.Web.WebView2.Wpf.WebView2.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   在 System.Windows.Interop.HwndHost.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   在 MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

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

版本:1.42.15 2024-04-29 14:03 Microsoft Windows NT 10.0.19045.0
版本:1.42.15 2024-04-26 14:17 Microsoft Windows NT 10.0.19045.0
版本:1.42.15 2024-04-25 17:47 Microsoft Windows NT 10.0.19045.0
版本:1.42.15 2024-04-25 10:51 Microsoft Windows NT 10.0.19045.0
版本:1.42.15 2024-04-24 17:20 Microsoft Windows NT 10.0.22631.0
版本:1.42.15 2024-04-19 11:14 Microsoft Windows NT 10.0.19045.0
版本:1.42.15 2024-04-16 09:09 Microsoft Windows NT 10.0.19045.0