Resource.unref

Atomically decrements the reference count of resource by one. If the reference count drops to 0, all memory allocated by the resource is released. This function is MT-safe and may be called from any thread.

class Resource
void
unref
()

Meta

Since

2.32