fluentui-apple icon indicating copy to clipboard operation
fluentui-apple copied to clipboard

Crash with MSNotificationView hide if it is not in view heirarchy

Open microsoft-kshitij opened this issue 3 years ago • 2 comments

If a MSNotificationView is created and the parent view is dismissed, the MSNotificationView crashes inside the hide function. This particularly happens when we specify a delay for the view and parent view gets dismissed before MSNotificationView delay expires.

microsoft-kshitij avatar Jan 30 '23 09:01 microsoft-kshitij

before the parentview is dismissed, why isn't the msnotfication not deallocated/dismissed?

harrieshin avatar Feb 17 '23 22:02 harrieshin

Currently we are doing that (handling the deallocation manually). We need to do this at every instance of msnotification. However, I think this handling should be present within MSNotification, that is, it shouldn't crash independently, in case the parent view controller gets de-allocated.

microsoft-kshitij avatar Feb 19 '23 06:02 microsoft-kshitij