Godot-Websocket
Godot-Websocket copied to clipboard
Editor Crashes After Close
Hey! Thanks for this project first of all, it's a life savior!
When you preview your project and successfully connect to your websocket server, then close your app, this message pops up:
https://i.gyazo.com/2768e8034e23b31baac72ffb187aab2c.gif
But, when you remove the thread.start(self,'_run', self)
line, this error goes away (but you are not connected :P) Any idea why that is? Just curious, thanks!
This line make socket to works. This error from windows is a generic message. Not show nothing. This is probably is a platform specific error, because thread not stop on window close, and reference that not destroyed by Godot core. The soluction is possible to try handle the onclose, event... maybe. I intend to work more on it at weekend. Includint to suport messages biggest to 126 characteres. For now, it it not cause connections issues, can be waiting for more polish work.
@marcosbitetti Thanks for the response. I'm new to gdscript, so learning a lot as I go, thank you for keeping it updated