[Modify] Move it

This commit is contained in:
sta 2021-04-22 19:48:53 +09:00
parent 6d6e2e6941
commit a751b81407

View File

@ -797,6 +797,8 @@ namespace WebSocketSharp.Net
if (!_listening)
return;
_listening = false;
cleanupContextQueue (true);
cleanupContextRegistry ();
@ -805,8 +807,6 @@ namespace WebSocketSharp.Net
cleanupWaitQueue (ex);
EndPointManager.RemoveListener (this);
_listening = false;
}
}