[Modify] Move it
This commit is contained in:
parent
6d6e2e6941
commit
a751b81407
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user