BEPUphysics.Threading.SimpleThreadManager.Dispose C# (CSharp) Method

Dispose() public method

Releases threads and resources used by the thread manager.
public Dispose ( ) : void
return void
        public void Dispose()
        {
            lock (disposedLocker)
            {
                if (!disposed)
                {
                    disposed = true;
                    ShutDown();
                    allThreadsIdleNotifier.Close();
                    GC.SuppressFinalize(this);
                }
            }
        }