예제 #1
0
        /// <summary>
        /// 关闭
        /// </summary>
        public void Close()
        {
            socket.Close();

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