[Mono-dev] Small bug in commit r87594 to System.Threading?

Paolo Molaro lupus at ximian.com
Wed Oct 17 07:29:02 EDT 2007


On 10/16/07 Juraj Skripsky wrote:
> Was the line "expired.Clear ();" left there by accident?
> The following if(..) will never evaluate to true...

Thanks for the catch, fixed in svn.
It's not really a big deal as that code is there just to reduce
memory usage in the case of big spikes in the number of expired timers.
The worse that could happen with the thinko was that the memory
of the ArrayList array was retained in those cases.

lupus

-- 
-----------------------------------------------------------------
lupus at debian.org                                     debian/rules
lupus at ximian.com                             Monkeys do it better



More information about the Mono-devel-list mailing list