Exception:已关闭 Safe handle

报错信息 1
ObjectDisposedException: 已关闭 Safe handle
--Message: 已关闭 Safe handle
StackTrace:
   在 System.Runtime.InteropServices.SafeHandle.DangerousAddRef(Boolean& success)
   在 System.StubHelpers.StubHelpers.SafeHandleAddRef(SafeHandle pHandle, Boolean& success)
   在 Microsoft.Win32.Win32Native.SetEvent(SafeWaitHandle handle)
   在 System.Threading.EventWaitHandle.Set()
   在 System.Windows.Input.PenThreadWorker.WorkerOperation.DoWork()
   在 System.Windows.Input.PenThreadWorker.ThreadProc()
   在 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)
   在 System.Threading.ThreadHelper.ThreadStart()

版本:1.43.59 2025-03-03 00:23 Microsoft Windows NT 10.0.22631.0