Fix leak in Socket#connect spec
* Found by https://github.com/ruby/ruby/actions/runs/12560692556/job/35018412527?pr=12492
This commit is contained in:
parent
e43d9cbfcb
commit
341503d1a3
Notes:
git
2024-12-31 15:19:37 +00:00
@ -71,6 +71,8 @@ describe 'Socket#connect' do
|
||||
skip "Off line"
|
||||
end
|
||||
}.should raise_error(IO::TimeoutError)
|
||||
ensure
|
||||
client.close
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user