Skip to content

gh-159118: Use MTA COM initialization in _wmi to avoid crashes under load - #159463

Open
utam-1 wants to merge 1 commit into
python:mainfrom
utam-1:gh-159118-wmi-mta
Open

utam-1 wants to merge 1 commit into
python:mainfrom
utam-1:gh-159118-wmi-mta

Conversation

@utam-1

@utam-1 utam-1 commented Oct 15, 2026 •

Copy link
Copy Markdown

Initialize COM with COINIT_MULTITHREADED instead of COINIT_APARTMENTTHREADED in _wmimodule.cpp to prevent hidden window registration contention and RPC_NT_INTERNAL_ERROR crashes under high concurrency.

…under load

Initialize COM with COINIT_MULTITHREADED instead of COINIT_APARTMENTTHREADED in _wmimodule.cpp to prevent hidden window registration contention and RPC_NT_INTERNAL_ERROR crashes under high concurrency.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant