Example #1
0
        /// <summary>
        /// 析构
        /// </summary>
        public static void dispose()
        {
            if (_disposed)
            {
                return;
            }

            _disposed = true;

            _httpRequestDic.forEachS(v =>
            {
                v.dispose();
            });

            _httpRequestDic.clear();

            _socketDic.forEachS(v =>
            {
                v.dispose();
            });

            _socketDic.clear();
        }