Hi has anyone experienced that after a closeEvent for a widget, the app crashes?

When I press the x button located at the upper right side of the widget, my application crashes. I run the project in debug mode but it does not crash there. When I run it using ctrl+ R, it crashes.

I have a closevent slot wherein it emits a signal to delete/destruct another widget.