Page 1 of 1

registerViewMouseListener closing issues

Posted: Tue Feb 11, 2020 3:06 pm
by thirty
Let's say I want to track mouse events from Controller class, so I am registering mouse listener from for example verifyView.
But closing the window causes an assert "View is still attached". willClose is not always called (most times is, but not always, testing in FL64). How this can be done correctly and bulletproof?