Hello,
Welcome to Microsoft Q&A!
I've checked the code in the Bluetooth sample that you've mentioned. That's an unexpected behavior and the code you found is the reason causing the behavior.
I've reported this via our channel that there is a mistake in the Bluetooth sample for subscription. Please also submit an issue in the Issues of the GitHub: https://github.com/microsoft/Windows-universal-samples/issues
Thank you.
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.