A compatibility wrapper around the BrightScript debug protocol https://developer.roku.com/en-ca/docs/developer-program/debugging/socket-based-debugger.md
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.
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.