Implemented garbage collection
As a whole, this is still tentative.
This commit is contained in:
@@ -44,4 +44,6 @@ TOY_API void Toy_freeFunction(Toy_Function* fn) {
|
||||
else if (fn->type == TOY_FUNCTION_NATIVE) {
|
||||
fn->native.callback = NULL;
|
||||
}
|
||||
|
||||
Toy_releaseBucketPartition((void*)fn);
|
||||
}
|
||||
Reference in New Issue
Block a user