internal void Push(thread thread) { if (isDisposed) { thread.Stop(); } else { threads.Push(thread); if (isDisposed) { disposePool(); } } }
public void Push(ref DbConnection connection) { pool.Push(connection); connection = null; }