1

Closed

Incorrect check for timeout values

description

In ShellStream.cs we see this four times:
if (timeout != null)
{...}
Well, timeout is a value type and it will never be "null", meaning in the above expression it wall always evaluate to true.

I fixed it locally by replacing the above with:
if (timeout.Ticks > 0)
{...}
Closed Apr 6 at 2:56 PM by drieseng

comments