On Thu, Oct 09, 2003 at 11:43:41AM -0400, Dan Sugalski wrote: > We've got ordered destruction on the big list 'o things to do, and it > looks like we need to get that done sooner rather than later. So, this is > a good chance for someone to burn those surplus SAN points and become one > with the great gibbering chaos at the center of the universe (no, wait, > that's not it) by digging into the DOD system. > > Not a huge task, we just need to order PMCs before destroying them, to > make sure we don't call the destructor for a PMC before we destroy the > things that depend on it. A quick run through the PMC pools to build up a > dependency chain if there's more than one PMC that needs destruction > should do it.
I always thought that was a rather hard issue, due to circular dependencies. It's certainly the case that Perl5 is very poor at global destruction of objects. -- SCO - a train crash in slow motion