rokucommunity / roku-debug

A compatibility wrapper around the BrightScript debug protocol https://developer.roku.com/en-ca/docs/developer-program/debugging/socket-based-debugger.md
MIT License
12 stars 9 forks source link

Close debug session on home button press #166

Closed TwitchBronBron closed 9 months ago

TwitchBronBron commented 9 months ago

Fixes #165

The issue was that even if the control socket closed, we were still trying to send the "Exit channel" request, which would never go through because.....the control socket is already closed. So now we bypass that call if the control socket is already closed.