Read about Go finalizers.
> On Nov 22, 2020, at 6:13 AM, Sean wrote:
>
> I am writing a Golang wrapper for OpenAL-Soft.
> I need to create some buffers. These operations are happening on the
> OpenAL-Soft side (So C functions). I am loading PCM data into buffers.
>
> Can I set up a trigger m
I am writing a Golang wrapper for OpenAL-Soft.
I need to create some buffers. These operations are happening on the
OpenAL-Soft side (So C functions). I am loading PCM data into buffers.
Can I set up a trigger mechanism like "x.__del__" as in Python?
I can set the garbage collector to follow s