I've experienced some crashes in my ol.autotalent~ external when closing the patch with the DSP on. The crash report points to a clock call. in this external I have a clock which puts the tracked pitch out of one of the message rate outlets.
in the free method I do things in this order:
dsp_free((t_pxobject *)x); // Always call dsp_free first in this routine
clock_unset(x->clock);
object_free(x->clock);
however, it appears that the clock doesn't get unset properly.
can anyone see what I'm doing wrong?
the full source is here:
http://www.olilarkin.co.uk/blog/files/ol_autotalent~.zip
Cheers,
oli