Delete Buffer Icon Delete Buffer

This action can be used to delete a buffer from memory, releasing the resources used to create it and removing any data that it may currently contain. You supply the unique buffer ID value as returned by the action Create Buffer. Note that you can select multiple buffers for removal by clicking the plus icon Expand Icon beside the action, and adding another buffer ID.

NOTE It's important to always remove any dynamically created resources from memory when you no longer need them to prevent memory leaks.

 

Action Syntax:

Delete Buffer Action

Arguments:

ArgumentDescription
BufferThe buffer index (stored in a variable)

 

Example:

Delete Buffer ExampleThe above action block code checks to see if a buffer exists and if it does it is deleted.