[Modify] Polish it

This commit is contained in:
sta 2021-05-07 19:08:10 +09:00
parent 3ee3d386b5
commit 048077c837

View File

@ -556,8 +556,7 @@ namespace WebSocketSharp.Net
cleanupContextQueue (force);
cleanupContextRegistry ();
var name = GetType ().ToString ();
var ex = new ObjectDisposedException (name);
var ex = new ObjectDisposedException (_objectName);
cleanupWaitQueue (ex);
EndPointManager.RemoveListener (this);