Skip to content
Snippets Groups Projects
Commit dee6266e authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Check for user disconnection in CheckTerminate()

A user disconnecting while running tw2 would just result in an infinite loop
checking node status and waiting for the user's allowed time to run out (which
may never happen) or for the server to be locally terminated.

This has been happening for years on Vertrauen. Finally now I see why.
parent c84808d0
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #2976 passed
......@@ -38,7 +38,7 @@ function CheckTime()
function CheckTerminate()
{
if(js.terminated)
if(js.terminated || !bbs.online)
exit(0);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment