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.8 2025-01-31 19:33 Microsoft Windows NT 10.0.19045.0
版本:1.40.23 2025-01-30 22:52 Microsoft Windows NT 10.0.19045.0
版本:1.41.3 2025-01-25 19:24 Microsoft Windows NT 10.0.18363.0
版本:1.41.3 2025-01-23 10:30 Microsoft Windows NT 10.0.19045.0
版本:1.41.3 2025-01-22 10:14 Microsoft Windows NT 10.0.19043.0
版本:1.42.8 2025-01-21 23:27 Microsoft Windows NT 10.0.19045.0
版本:1.40.23 2025-01-20 08:23 Microsoft Windows NT 10.0.17763.0
版本:1.41.3 2025-01-18 20:24 Microsoft Windows NT 10.0.26120.0
版本:1.40.23 2025-01-17 08:02 Microsoft Windows NT 10.0.19045.0
版本:1.42.8 2025-01-15 02:46 Microsoft Windows NT 10.0.17763.0
版本:1.42.15 2025-01-13 08:00 Microsoft Windows NT 10.0.19044.0
版本:1.42.8 2025-01-11 16:03 Microsoft Windows NT 10.0.19044.0
版本:1.41.5 2025-01-11 12:46 Microsoft Windows NT 10.0.19045.0
版本:1.41.3 2025-01-10 23:46 Microsoft Windows NT 10.0.19042.0
版本:1.40.23 2025-01-10 22:58 Microsoft Windows NT 10.0.18363.0
版本:1.42.8 2025-01-08 17:27 Microsoft Windows NT 10.0.16299.0
版本:1.42.15 2025-01-07 09:31 Microsoft Windows NT 10.0.17763.0
版本:1.41.5 2025-01-06 14:12 Microsoft Windows NT 10.0.19045.0
版本:1.42.8 2025-01-06 08:58 Microsoft Windows NT 10.0.19041.0
版本:1.40.30 2025-01-06 08:36 Microsoft Windows NT 10.0.18363.0
版本:1.42.8 2025-01-05 20:05 Microsoft Windows NT 10.0.18363.0
版本:1.42.8 2025-01-05 20:02 Microsoft Windows NT 10.0.18363.0
版本:1.41.5 2025-01-05 15:36 Microsoft Windows NT 10.0.18363.0
版本:1.40.23 2025-01-05 00:21 Microsoft Windows NT 10.0.19043.0
版本:1.41.5 2025-01-04 17:52 Microsoft Windows NT 10.0.19045.0
版本:1.42.8 2025-01-04 11:54 Microsoft Windows NT 10.0.19045.0
版本:1.40.23 2025-01-04 09:12 Microsoft Windows NT 10.0.19042.0
版本:1.42.8 2025-01-03 22:06 Microsoft Windows NT 10.0.18363.0
版本:1.40.23 2025-01-03 15:47 Microsoft Windows NT 10.0.19045.0
版本:1.41.5 2025-01-03 10:39 Microsoft Windows NT 10.0.19045.0
版本:1.42.8 2025-01-03 09:54 Microsoft Windows NT 10.0.19041.0
版本:1.42.8 2025-01-03 09:29 Microsoft Windows NT 10.0.19041.0
版本:1.42.8 2025-01-03 09:20 Microsoft Windows NT 10.0.19045.0
版本:1.42.8 2025-01-03 08:54 Microsoft Windows NT 10.0.17763.0
版本:1.42.8 2025-01-03 08:53 Microsoft Windows NT 10.0.19045.0
版本:1.42.15 2025-01-03 08:43 Microsoft Windows NT 10.0.19042.0
版本:1.42.8 2025-01-03 08:27 Microsoft Windows NT 10.0.18363.0
版本:1.42.8 2025-01-03 08:27 Microsoft Windows NT 10.0.17763.0
版本:1.42.8 2025-01-03 08:14 Microsoft Windows NT 10.0.19045.0
版本:1.42.8 2025-01-03 08:08 Microsoft Windows NT 10.0.19045.0
版本:1.42.8 2025-01-03 07:59 Microsoft Windows NT 10.0.19041.0
版本:1.40.30 2025-01-03 07:57 Microsoft Windows NT 10.0.19042.0
版本:1.42.15 2025-01-03 06:51 Microsoft Windows NT 10.0.18363.0
报错信息 2
InvalidOperationException: CoreWebView2 members cannot be accessed after the WebView2 control is disposed.
StackTrace:
   在 Microsoft.Web.WebView2.Core.CoreWebView2.Reload()
   在 Quicker.View.UI.WebView2Window.rEMulpinHLl(Object  , ExecutedRoutedEventArgs  )
   在 System.Windows.Input.CommandBinding.OnExecuted(Object sender, ExecutedRoutedEventArgs e)
   在 System.Windows.Input.CommandManager.ExecuteCommandBinding(Object sender, ExecutedRoutedEventArgs e, CommandBinding commandBinding)
   在 System.Windows.Input.CommandManager.FindCommandBinding(CommandBindingCollection commandBindings, Object sender, RoutedEventArgs e, ICommand command, Boolean execute)
   在 System.Windows.Input.CommandManager.FindCommandBinding(Object sender, RoutedEventArgs e, ICommand command, Boolean execute)
   在 System.Windows.Input.CommandManager.OnExecuted(Object sender, ExecutedRoutedEventArgs e)
   在 System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   在 System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   在 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   在 System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   在 System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
   在 System.Windows.Input.RoutedCommand.ExecuteImpl(Object parameter, IInputElement target, Boolean userInitiated)
   在 System.Windows.Input.CommandManager.TranslateInput(IInputElement targetElement, InputEventArgs inputEventArgs)
   在 System.Windows.UIElement.OnKeyDownThunk(Object sender, KeyEventArgs e)
   在 System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   在 System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   在 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   在 System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   在 System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
   在 System.Windows.Input.InputManager.ProcessStagingArea()
   在 System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
   在 System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
   在 System.Windows.Interop.HwndKeyboardInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawKeyboardActions actions, Int32 scanCode, Boolean isExtendedKey, Boolean isSystemKey, Int32 virtualKey)
   在 System.Windows.Interop.HwndKeyboardInputProvider.ProcessKeyAction(MSG& msg, Boolean& handled)
   在 System.Windows.Interop.HwndSource.CriticalTranslateAccelerator(MSG& msg, ModifierKeys modifiers)
   在 System.Windows.Interop.HwndSource.OnPreprocessMessage(Object param)
   在 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.ICoreWebView2.Reload()
   在 Microsoft.Web.WebView2.Core.CoreWebView2.Reload()

版本:1.43.53 2025-01-13 16:06 Microsoft Windows NT 10.0.22631.0
报错信息 3
InvalidOperationException: CoreWebView2 members cannot be accessed after the WebView2 control is disposed.
StackTrace:
   在 Microsoft.Web.WebView2.Core.CoreWebView2.Reload()
   在 Quicker.View.UI.WebView2Window.YxAfB6NSbWk(Object  , ExecutedRoutedEventArgs  )
   在 System.Windows.Input.CommandBinding.OnExecuted(Object sender, ExecutedRoutedEventArgs e)
   在 System.Windows.Input.CommandManager.ExecuteCommandBinding(Object sender, ExecutedRoutedEventArgs e, CommandBinding commandBinding)
   在 System.Windows.Input.CommandManager.FindCommandBinding(CommandBindingCollection commandBindings, Object sender, RoutedEventArgs e, ICommand command, Boolean execute)
   在 System.Windows.Input.CommandManager.FindCommandBinding(Object sender, RoutedEventArgs e, ICommand command, Boolean execute)
   在 System.Windows.Input.CommandManager.OnExecuted(Object sender, ExecutedRoutedEventArgs e)
   在 System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   在 System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   在 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   在 System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   在 System.Windows.Input.RoutedCommand.ExecuteImpl(Object parameter, IInputElement target, Boolean userInitiated)
   在 MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)
   在 System.Windows.Controls.Primitives.ButtonBase.OnClick()
   在 System.Windows.Controls.Button.OnClick()
   在 System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
   在 System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   在 System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   在 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   在 System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
   在 System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
   在 System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   在 System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   在 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   在 System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   在 System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
   在 System.Windows.Input.InputManager.ProcessStagingArea()
   在 System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
   在 System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
   在 System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
   在 System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   在 System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   在 MS.Win32.HwndWrapper.WndProc(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.ICoreWebView2.Reload()
   在 Microsoft.Web.WebView2.Core.CoreWebView2.Reload()

版本:1.43.30 2025-01-11 16:21 Microsoft Windows NT 10.0.19045.0
报错信息 4
InvalidOperationException: CoreWebView2 members cannot be accessed after the WebView2 control is disposed.
StackTrace:
   在 Microsoft.Web.WebView2.Core.CoreWebView2Controller.set_Bounds(Rectangle value)
   在 Microsoft.Web.WebView2.Wpf.WebView2.OnWindowPositionChanged(Rect rcBoundingBox)
   在 System.Windows.Interop.HwndHost.UpdateWindowPos()
   在 System.Windows.ContextLayoutManager.fireLayoutUpdateEvent()
   在 System.Windows.ContextLayoutManager.UpdateLayout()
   在 System.Windows.Interop.HwndSource.Process_WM_SIZE(UIElement rootUIElement, IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam)
   在 System.Windows.Interop.HwndSource.LayoutFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   在 MS.Win32.HwndWrapper.WndProc(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.set_Bounds(tagRECT Bounds)
   在 Microsoft.Web.WebView2.Core.CoreWebView2Controller.set_Bounds(Rectangle value)

版本:1.39.43 2025-01-03 20:53 Microsoft Windows NT 10.0.19045.0