Attempting to call `.accept()` on a roStreamSocket from the BrightScript Debugger command line causes the entire device to hang and reboot:
Brightscript Debugger> server = CreateObject("roStreamSocket") Brightscript Debugger> addr = CreateObject("roSocketAddress") Brightscript Debugger> addr.SetPort(9999) Brightscript Debugger> server.setaddress(addr) Brightscript Debugger> ? server.listen(1) true Brightscript Debugger> conn = server.accept() Brightscript Debugger> Connection closed by foreign host.
Again, this doesn't just cause the debugger to disconnect, it causes the entire device to lock up and reboot. This issue only occurs when .accept() is called in interactive mode.
Hi @MrLlama,
This sounds like a bug we definitely want to investigate further. Can you provide the firmware and device you're seeing this issue on?
Tested on a 50" and 55" TCL TV, both running 9.4.0/4190