BitMaker.Miner.Pool.Dispose C# (CSharp) Method

Dispose() public method

Disposes of the pool and releases all resources associated with it.
public Dispose ( ) : void
return void
        public void Dispose()
        {
            run = false;

            if (refreshThread != null)
            {
                refreshThread.Join();
                refreshThread = null;
            }
        }