Teeworlds
discord.gg/teeworlds / development
For discussions around the development of the official Teeworlds
Between 2021-03-26 00:00:00Z and 2021-03-27 00:00:00Z
GitHub
BOT
2021-03-26 13:25:19Z
ChillerDragon
[teeworlds/teeworlds] Issue opened: #2856 Let the server catch SIGINT and close gracefully
When running the client in a terminal emulator and pressing CTRL+C it does a clean disconnect and is shutting down all components. The server on the other hand just straight up dies. Would be nice to call this code here:
https://github.com/teeworlds/teeworlds/blob/740555190a7f98ba94862e8cd01bde1a19ee6d31/src/engine/server/server.cpp#L1478
to close econ connections and all the other things. Maybe even add some hook where custom mods can add their cleanup code.
DevErik
2021-03-26 18:44:12Z
hi
Exported 2 message(s)