WIP
parent
9aec7590b7
commit
4ff069857b
|
@ -22,7 +22,7 @@ namespace ln.http
|
|||
|
||||
public SessionCache SessionCache { get; set; }
|
||||
|
||||
public bool IsRunning => (currentListenerThreads.Count > 0) || (threadPool.NumThreads > 0);
|
||||
public bool IsRunning => (currentListenerThreads.Count > 0) || (threadPool.CurrentPoolSize > 0);
|
||||
|
||||
|
||||
|
||||
|
@ -88,7 +88,7 @@ namespace ln.http
|
|||
tcpListener.Stop();
|
||||
}
|
||||
|
||||
threadPool.NumThreads = 0;
|
||||
threadPool.Close();
|
||||
|
||||
while (IsRunning)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue