[Modify] Move it
This commit is contained in:
parent
6d6e2e6941
commit
a751b81407
@ -797,6 +797,8 @@ namespace WebSocketSharp.Net
|
|||||||
if (!_listening)
|
if (!_listening)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
_listening = false;
|
||||||
|
|
||||||
cleanupContextQueue (true);
|
cleanupContextQueue (true);
|
||||||
cleanupContextRegistry ();
|
cleanupContextRegistry ();
|
||||||
|
|
||||||
@ -805,8 +807,6 @@ namespace WebSocketSharp.Net
|
|||||||
cleanupWaitQueue (ex);
|
cleanupWaitQueue (ex);
|
||||||
|
|
||||||
EndPointManager.RemoveListener (this);
|
EndPointManager.RemoveListener (this);
|
||||||
|
|
||||||
_listening = false;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user