fix(runner): unload modules before CRT teardown #51433

Open
LegendaryBlair opened 11:03am on October 20, 2026 wants to merge 100 Δ into microsoft/powertoys main from
fix/runner-shutdown-before-crt-20261020

Pull request #51433 quality checks

Code files and functions touched by this pull request are analyzed below.

Quality targets

How does this pull request compare to chosen code quality targets? Read more about code quality targets.

Target name Target value This PR
Maximum Diff Delta per PR 500 100
Maximum comment count per PR 10 2
Pull request maximum business days between activity 3 16
Pull request maximum business days open 5 16

Coupled files

Are there any files from this commit that are always committed alongside another file? This often suggests that there exists code coupling to potentially remove. Read more about code coupling

No file coupling detected. 🎉

️ Biggest functions grown or shrunk by pull request

Which functions had their line count change as part of this pull request?

Qualified function name View whole function Lines removed Lines added Final line count
UnregisterHotkeysForModule 4 3 21