Closed glausmichael closed 1 year ago
In PipeStreamWriter WriteAsync method, the semaphore is still released in the finally statement even it has not been entered if the cancellation token is cancelled before entering it. This leads to a SemaphoreFullException.
In PipeStreamWriter WriteAsync method, the semaphore is still released in the finally statement even it has not been entered if the cancellation token is cancelled before entering it. This leads to a SemaphoreFullException.