Prevent the listener from throwing an error when the scenario ends.

This commit is contained in:
Sacha Ligthert 2024-01-15 22:12:54 +01:00
parent 7471843374
commit b8df61dcc2

View File

@ -28,7 +28,7 @@ end
function LuaExportStop()
-- Terminate TCP connection
if MySocket then
socket.try(MySocket:send("exit\n"))
--socket.try(MySocket:send("exit\n"))
MySocket:close()
end
end