On Sat, 28 Nov 2009, Rich E wrote:

Can anyone help me understand why an external's free function doesn't seem to be called if pd is shut down as a whole (ex. ctrl-q)? I put post's, printf's, and breakpoints in my free function and they are called if I remove the external from the patch or the patch as a whole (ex. ctrl-w). But, if I shut down pd all at once, the breakpoint doesn't trigger and I don't get any print. The same thing happens in a flext external, within the ~Destructor method. I don't understand.

because the exit() function always skips over all destructions except those mandated by atexit().

 _ _ __ ___ _____ ________ _____________ _____________________ ...
| Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801
_______________________________________________
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to