DotJoshJohnson / vscode-dotnet

A Visual Studio Code language server implementation for .NET/.NET Core.
http://dotjoshjohnson.github.io/vscode-dotnet/api-docs
MIT License
8 stars 3 forks source link

Fix WaitForState with no timeout #10

Closed alexperovich closed 5 years ago

alexperovich commented 8 years ago

This change fixes WaitForState to not throw when given no timeout. DateTime.Now.Add(TimeSpan.MaxValue) will throw an ArgumentOutOfRangeException