Negative thread count fix
This commit is contained in:
parent
dc08062545
commit
887cf2c7be
|
|
@ -55,7 +55,7 @@ namespace Microsoft.AspNet.Server.Kestrel
|
||||||
|
|
||||||
disposables.Push(engine);
|
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)
|
foreach (var address in information.Addresses)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue