[PD-dev] Destructor in external classes

Kjetil Matheussen k.s.matheussen at gmail.com
Mon Mar 24 18:32:00 CET 2014


On Mon, Mar 24, 2014 at 2:56 PM, Antoine Villeret
<antoine.villeret at gmail.com> wrote:
> hello,
>
> the free method seems to be called when the object is deleted from the
> canvas.
>
> is there a similar method called on Pd quit ?
> I'm asking that because I'm rewriting a pix_openni2 object and to free the
> openni context i have to call a shutdown() function on quit and not on
> object deletion
>

How about 'atexit'?



More information about the Pd-dev mailing list