Beispiel #1
0
        /// <summary>
        /// Dispose the managed resource
        /// </summary>
        /// <param name="disposing">If disposing equals true, dispose all resources</param>
        protected virtual void Dispose(bool disposing)
        {
            if (disposing)
            {
                if (null != _workerThread)
                {
                    _workerThread.Dispose();
                    _workerThread = null;
                }

                if (null != _blastClient)
                {
                    _blastClient.Dispose();
                    _blastClient = null;
                }
            }
        }
Beispiel #2
0
        /// <summary>
        /// Dispose the managed resource
        /// </summary>
        /// <param name="disposing">If disposing equals true, dispose all resources</param>
        protected virtual void Dispose(bool disposing)
        {
            if (disposing)
            {
                if (null != workerThread)
                {
                    workerThread.Dispose();
                    workerThread = null;
                }

                if (null != blastClient)
                {
                    blastClient.Dispose();
                    blastClient = null;
                }
            }
        }