-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Switch to PREEMPT mode when calling CoTaskMem* APIs #71031
Switch to PREEMPT mode when calling CoTaskMem* APIs #71031
Conversation
I think ComPreStubWorker is the only one that needs it. There may be other entrypoints for various corner cases, but I do not think we need to boil the ocean to add this check everywhere. |
Add check in ComPreStubWorker().
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
Failure is #70969. |
Fixes #70973
This enables WinForms to pass.
Still need to consider other COM entry points (for example,
ComPreStubWorker
).