Uninitialize widget in Mx5

1
Hi everyone, I place my widget in a Dataview Form. There is a close button which calls a microflow to close the Dataview Form. So If I click the close button (or navigate to other pages), the uninitialize function of my widget is not triggered. (which it does in Mx4) But after that, if I open the widget again (or navigate to other pages), the uninitialize function of the previous instance of widget is triggered. Do you know how to solve this issue? Regards,
asked
1 answers
2

Sounds like a bug, could you file a ticket? Sometimes the uninitialize method is not directly called because the page is still available via the browser history. However, when closing the page the page should be destroyed and the uninitialize method of all widgets should be called immediately.

answered