Merge branch 'release' into dev
This commit is contained in:
commit
1e36bfac8d
|
|
@ -104,9 +104,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel
|
||||||
Post(t => t.OnStopImmediate());
|
Post(t => t.OnStopImmediate());
|
||||||
if (!_thread.Join(stepTimeout))
|
if (!_thread.Join(stepTimeout))
|
||||||
{
|
{
|
||||||
#if NET451
|
_log.LogError(0, null, "KestrelThread.Stop failed to terminate libuv thread.");
|
||||||
_thread.Abort();
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -116,9 +114,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel
|
||||||
// Until we rework this logic, ODEs are bound to happen sometimes.
|
// Until we rework this logic, ODEs are bound to happen sometimes.
|
||||||
if (!_thread.Join(stepTimeout))
|
if (!_thread.Join(stepTimeout))
|
||||||
{
|
{
|
||||||
#if NET451
|
_log.LogError(0, null, "KestrelThread.Stop failed to terminate libuv thread.");
|
||||||
_thread.Abort();
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue