Is there any way to destroy a `ref` manually? My object has
proc `destroy=`(self: Figure) =
gui.eraseFigure(self.handler)
Run
So when object is garbage collected, it is erased on screen as well. However,
object is not collected immediately, so I still see it on screen after removing
all references to it. Only when GC comes to the object and destroys it, the
object disappears, but it may take significant amount of time.
Is there any possibility to say "hey, GC, take a look at this object - it has
no references anymore, please collect it asap"?