src/Cassandra/Tasks/HashedWheelTimer.cs
/// <summary>
/// Removes all cancelled timeouts from the buckets
/// </summary>
Removes all cancelled timeouts from the buckets
Removes all cancelled timeouts from the buckets
private void RemoveCancelled()
        {
            TimeoutItem timeout;
            while (_cancelledTimeouts.TryDequeue(out timeout))
            {
                try
                {
                    timeout.Bucket.Remove(timeout);
                }
                catch (NullReferenceException)
                {
                }
            }
        }
private void RemoveCancelled ( ) { TimeoutItem timeout ; while ( _cancelledTimeouts . TryDequeue ( out timeout ) ) { try { timeout . Bucket . Remove ( timeout ) ; } catch ( NullReferenceException ) { } } }
Removes all cancelled timeouts from the buckets
Removes all cancelled timeouts from the buckets
// The Bucket was already set to null: it was already removed, don't mind