Negative thread count fix

This commit is contained in:
Ben Adams 2015-09-10 02:57:49 +01:00
parent dc08062545
commit 887cf2c7be
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ namespace Microsoft.AspNet.Server.Kestrel
disposables.Push(engine);
engine.Start(information.ThreadCount == 0 ? 1 : information.ThreadCount);
engine.Start(information.ThreadCount <= 0 ? 1 : information.ThreadCount);
foreach (var address in information.Addresses)
{