smalloc: add api to manually dispose Persistent
If the user knows the allocation is no longer needed then the memory can be manually released. Currently this will not ClearWeak the Persistent, so the callback will still run. If the user passed a ClearWeak callback, and then disposed the object, the buffer callback argument will == NULL.
parent
8f3f9f78
Please register or sign in to comment