Prevent the listener from throwing an error when the scenario ends.
This commit is contained in:
parent
7471843374
commit
b8df61dcc2
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user