cleanup and web-server UI lock wait fix
This commit is contained in:
@@ -130,8 +130,8 @@ public sealed class RemoteWebServer : IRemoteWebServer
|
||||
try
|
||||
{
|
||||
_cts?.Cancel();
|
||||
_listenerTask?.Wait(TimeSpan.FromSeconds(5));
|
||||
_listener.Stop();
|
||||
_listenerTask?.Wait(TimeSpan.FromSeconds(5));
|
||||
_cts?.Dispose();
|
||||
_cts = null;
|
||||
_listenerTask = null;
|
||||
|
||||
Reference in New Issue
Block a user