Пример #1
0
        public void ReleaseLock(T connection)
        {
            lock (_syncRoot)
            {
                Trace.WriteLine("*** Unlocking " + connection.UniqueId);

                connection.IsLocked = false;

                ConnectionPoolScavenger.ExtendLease(connection);

                locks[connection] = false;
            }
        }
 public void ReleaseLock(T connection)
 {
     ConnectionPoolScavenger.ExtendLease(connection);
 }