wpf
wpf copied to clipboard
ObjectDisposedException when PenThreadWorker.ThreadProc
Description
The WorkerOperation.DoWork in PenThreadWorker.ThreadProc will throw System.ObjectDisposedException.
This is not a good report and I lack the steps to reproduce it.
This exception info from my application telemetry.
Reproduction Steps
None.
Expected behavior
Work well.
Actual behavior
Throw System.ObjectDisposedException
System.ObjectDisposedException: Safe handle has been closed.
Object name: 'SafeHandle'.
in void SafeHandle.DangerousAddRef(ref bool success)
in bool Kernel32.SetEvent(SafeWaitHandle handle)
in bool EventWaitHandle.Set()
in void WorkerOperation.DoWork()
in void PenThreadWorker.ThreadProc()
in void Thread.StartCallback()
Regression?
No response
Known Workarounds
No response
Impact
No response
Configuration
OS: Microsoft Windows 10.0.19041
.NET: .NET 6.0.1
Other information
No response