Fix the NREs when writing to console from multiple threads by kborowinski · Pull Request #25440 · PowerShell/PowerShell

@kborowinski

@iSazonov added the CL-General

Indicates that a PR should be marked as a general cmdlet change in the Change Log

label

Apr 25, 2025

iSazonov

pwshBot pushed a commit to pwshBot/PowerShell that referenced this pull request

May 3, 2025
…l#25440)

The WriteImpl() method should always be called within a lock on _instanceLock to ensure thread safety.

pwshBot pushed a commit to pwshBot/PowerShell that referenced this pull request

May 3, 2025
…l#25440)

The WriteImpl() method should always be called within a lock on _instanceLock to ensure thread safety.

SIRMARGIN pushed a commit to SIRMARGIN/PowerShell that referenced this pull request

Dec 12, 2025
…l#25440)

The WriteImpl() method should always be called within a lock on _instanceLock to ensure thread safety.