I am creating an St.Bin actor and binding a bunch of properties from a window actor to it:
Then, when removing the effect from the window actor, I destroy the shadow actor:
The documentation for bind_property says that the binding is automatically removed when the target is finalized. However, it seems like calling shadow.destroy doesn’t actually remove the binding and keeps it in the RAM, causing a memory leak.
Is there a way to properly finalize the shadow actor to automatically remove all bindings referencing it? Or is the only way to do this to track all bindings and manually unbind them before calling shadow.destroy?