[Maui Embedded] DisconnectHandler not being called when page is closed

Douglas Marttinen 0 Reputation points

I have a ContentPage that has a ZXing Barcode Reader view on it. On iOS, when I pop the page, it does not call DisconnectHandler on the view in the ContentPage - which is important because otherwise the camera stays on in the background and it is in DisconnectHandler where all this is cleaned up.

I am using Maui Embedded, is there something I should be doing to cleanup the content page after I am done with it?

A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,122 questions
{count} votes