mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 12:45:47 +00:00
This resolves #817. A PowerShell instance is created to load and execute profile code. However, if the profile has a parse error, the instance never gets created, thus we have to check that it's not null before disposing it.