Ok, I understand.

Then what should I call it?
"freesend" or "destroysend" or "destructorsend"
or
"free_send" or "destroy_send" or "destructor_send"

"On top of this, it gets triggered in the
middle of deleting a patch, which means you can't rely on the patch being
complete and you can't rely on the patch being empty either. "

This is not an issue with this external as it is made to annonce to another patch that the current patch is being deleted.

On 9/3/07, Mathieu Bouchard <matju@artengine.ca> wrote:
On Mon, 3 Sep 2007, Thomas O Fredericks wrote:

> Since I started making externals for PD, here is a new one: [closemsg X]
> It sends a bang to X when it is destroyed. It therefore acts as a
> closebang. See attached source and i386 linux binary.

It shouldn't be called "close" because [closebang] is made to be banged
just before deleting objects in the patch, just like [initbang] and
[loadbang] are made to be banged after actual creation. [closemsg] gets
triggered too late for that. On top of this, it gets triggered in the
middle of deleting a patch, which means you can't rely on the patch being
complete and you can't rely on the patch being empty either.

  _ _ __ ___ _____ ________ _____________ _____________________ ...
| Mathieu Bouchard - tél:+1.514.383.3801, Montréal QC Canada



--
thomas ouellet fredericks, tof@danslchamp.org, montreal, canada