nx-btred icon indicating copy to clipboard operation
nx-btred copied to clipboard

Fix for btpair application not disabling mission control event redirection when terminated via home button press

Open ndeadly opened this issue 3 years ago • 0 comments

This adds calls to appletLockExit/appletUnlockExit and moves cleanup code into a Finalize function to allow proper cleanup and disable mission control's event redirection before termination when the user exits via the home button. I believe that without this the application is force-terminated when the home button is pressed and the code in the BtPairingManager destructor is never run.

I suspect this may be the cause of the crash-on-sleep issues people have been reporting.

ndeadly avatar Aug 19 '21 14:08 ndeadly