upgrade
This commit is contained in:
@@ -276,7 +276,6 @@ namespace Dist.SpringWebsocket
|
||||
}
|
||||
public void DisConnect()
|
||||
{
|
||||
_send(StompCommandEnum.DISCONNECT.ToString() + LF + LF + NULL);
|
||||
ArrayList list = new ArrayList();
|
||||
list.AddRange(subscribes.Keys);
|
||||
foreach (var key in list)
|
||||
@@ -285,6 +284,7 @@ namespace Dist.SpringWebsocket
|
||||
}
|
||||
this.callbacks.Clear();
|
||||
this.subscribes.Clear();
|
||||
_send(StompCommandEnum.DISCONNECT.ToString() + LF + LF + NULL);
|
||||
this.connected = false;
|
||||
isSending = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user