Exception:调度程序进程已挂起,但消息仍在处理中。

报错信息 1
InvalidOperationException: 调度程序进程已挂起,但消息仍在处理中。
StackTrace:
   在 System.Windows.Threading.Dispatcher.WndProcHook(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)

版本:1.43.68 2025-04-28 10:19 Microsoft Windows NT 10.0.19045.0
版本:1.43.68 2025-04-15 18:39 Microsoft Windows NT 10.0.26100.0
版本:1.43.68 2025-04-15 14:32 Microsoft Windows NT 10.0.19045.0
报错信息 2
InvalidOperationException: 调度程序进程已挂起,但消息仍在处理中。
StackTrace:
   在 System.Windows.Threading.Dispatcher.WndProcHook(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)
   在 System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
   在 MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   在 MS.Win32.UnsafeNativeMethods.ITextStoreACPSink.OnLockGranted(LockFlags flags)
   在 System.Windows.Documents.TextStore.GrantLock()
   在 System.Windows.Documents.TextStore.GrantLockWorker(LockFlags flags)
   在 System.Windows.Documents.TextStore.RequestLock(LockFlags flags, Int32& hrSession)

版本:1.43.68 2025-04-18 17:52 Microsoft Windows NT 10.0.19045.0