[Modify] Move it
This commit is contained in:
parent
d7b3fef56d
commit
526fb635c9
@ -813,8 +813,6 @@ namespace WebSocketSharp.Net
|
||||
if (!_listening)
|
||||
return;
|
||||
|
||||
EndPointManager.RemoveListener (this);
|
||||
|
||||
cleanupContextQueue (true);
|
||||
cleanupContextRegistry ();
|
||||
|
||||
@ -822,6 +820,8 @@ namespace WebSocketSharp.Net
|
||||
var ex = new HttpListenerException (995, msg);
|
||||
cleanupWaitQueue (ex);
|
||||
|
||||
EndPointManager.RemoveListener (this);
|
||||
|
||||
_listening = false;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user