Proposal: Object.Destroy()
diamondburned opened this issue · 0 comments
diamondburned commented
As a workaround to the memory leaks that some objects might exhibit when encountering cyclical references, glib.Object
s can have a Destroy()
object that allows the user to manually and permanently destroy an object, erasing any finalizers that it may have.
This can be used as a workaround for applications that leak a lot of memory loading images and such.