Close sample client instantly on ctrl+c

This commit is contained in:
ChillerDragon 2024-06-19 08:46:02 +08:00
parent ba7bfc6c07
commit 1f46adca46

View file

@ -78,6 +78,7 @@ end
Signal.trap('INT') do
client.disconnect
exit
end
# connect and detach thread