foxssake / noray

Simple connection orchestrator and relay
MIT License
14 stars 4 forks source link

Noray instance ECONNRESET when shutting a connected game via the editor stop button #54

Open Learus opened 5 months ago

Learus commented 5 months ago

Hey there. A possible bug I noticed:

  1. Run the game via the Godot Editor
  2. Connect to noray (I do it automatically for now)
  3. Shut the game down using the Stop button in the editor
  4. Noray server crashes with ECONNRESET.

If I shut down the game normally (by get_tree().quit(), or by pressing the X button on the main window) everything is fine.

For now, it's not a big issue for dev, because I could just "restart: always" the dev noray server. Nevertheless, it could cause problems in the future.

elementbound commented 2 weeks ago

55 added some more error handlers, which might fix this. Will test again once that's merged.