You can just remove your widget from the viewport, set the reference to NULL and then call “Collect Garbage” and it will be destroyed.
A bit late, but this worked just fine, thanks!
You can just remove your widget from the viewport, set the reference to NULL and then call “Collect Garbage” and it will be destroyed.
A bit late, but this worked just fine, thanks!