/// <summary> /// 关闭 /// </summary> public void Close() { socket.Close(); tokenPool.Clear(); dicToken.Clear(); }
/// <summary> /// 关闭 /// </summary> public void Close() { socket.Close(); pool.Clear(); pool.Dispose(); pool = null; bufferManager.Clear(); tokenPool.Clear(); dicToken.Clear(); }