mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 20:56:02 +00:00
There was a NullReferenceException after turning on constrained language mode if creating a binding on a thread with no runspace. The fix is to assume if there is no runspace that we are not in constrained language mode, and also generate a binding restriction that assumes the same.