Have a way to call something upon object deletion

Hey, so I have this problem with suspending threads not being killed upon object deletion (by garbage collector I presume)

I noticed that we had this disposable interface available, but I tested it and it doesn’t seem to be really useful to implement.

disposable_test := class(disposable):
    Dispose<override>():void=
        Print("DISPOSED") # Never called

# Inside some creative_device
OnBegin<override>()<suspends>:void=
    A := disposable_test{}
    Sleep(5.0)
    # <- Garbage collected

Could we have some sort of function that would allow us to call clean-up code upon object deletion ?

@im_a_lama Thank you for your feedback. While I cannot guarantee a response, I can confirm that this has been forwarded to the appropriate team.