Reply To: buffer_ref_notify with multiple buffers

Forums > Dev > buffer_ref_notify with multiple buffers
November 11, 2013 | 8:30 am

Among other things, you need to call this when you receive notifications from the buffer~ for the following scenario:

The buffer~ object is freed

The buffer reference then must be updated to about this event so that it doesn’t do something bad (like try to call into the buffer~ that no longer exists).

In this case you should look at the "sender" parameter to your notify method. You can use an if statement to see which buffer~ it matches and forward as necessary.

– .. —