So i have been trying to replicate this in a minimal setup.. and failed, it seems to be related to singlethreadedness in the browser maybe?
either way when i use
client.websocket
first thing in the main function it closes just fine
w
wilyarti
10/27/2019, 12:27 PM
I just read through the code. It looks like it may be hanging on the while(true) loop as it is never explicitly set to false.
Try moving the incoming.recieve() inside the while() conditional.