[qmtest] [PATCH] Fix resource cleanup ordering

Mark Mitchell mark at codesourcery.com
Fri May 21 16:01:26 UTC 2004


Nathaniel Smith wrote:

> Currently resources are set up in an order that respects their
> dependencies, but torn down in an effectively random order.  This
> patch fixes this, and adds a test to make sure that we don't
> reintroduce the bug in the future (especially useful if we try to do
> something cleverer with resources; the current algorithm is pretty
> stupid).

Yay.

I was kinda hoping we'd revive the idea of a data structure that was 
*both* a list and a dictionary, but your way Just Works. :-)

-- 
Mark Mitchell
CodeSourcery, LLC
mark at codesourcery.com



More information about the qmtest mailing list