How to destroy UMG widget?

It doesn’t work if there are reference pointers. How to force to destroy UMG widgets?