[Stackless] Problem with memory deallocation

Kevin Kelley kelleyk at MIT.EDU
Fri May 23 01:03:30 CEST 2008

Hi all,

I've removed the exposed C++ classes from the equation, and it looks 
like, in general, Stackless only calls destructors for objects in the 
tasklet which is active when the script terminates (by calling 
sys.exit(), throwing an untrapped exception, or etc.) instead of for 
objects in all tasklets, which I suppose is what I was expecting it to do.

Is this intentional?  If so, is there a good way to accomplish what I'm 
trying to accomplish (have destructors invoked on all objects)?


More information about the Stackless mailing list