diff options
author | Eric Wong <e@80x24.org> | 2019-12-14 17:29:44 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2019-12-14 17:29:44 +0000 |
commit | e78976a65f6e7aea896e176c697b0181d52c6489 (patch) | |
tree | b9cf97e8f910c42b4f672c6eed787e15fc6c46e1 | |
parent | 0afe1ff6e8fbe1803e5f3dea61c8b1c697a90048 (diff) | |
download | kgio-e78976a65f6e7aea896e176c697b0181d52c6489.tar.gz |
-rw-r--r-- | test/test_connect_fd_leak.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_connect_fd_leak.rb b/test/test_connect_fd_leak.rb index 034fe5b..b1326f3 100644 --- a/test/test_connect_fd_leak.rb +++ b/test/test_connect_fd_leak.rb @@ -13,6 +13,6 @@ class TestConnectFDLeak < Test::Unit::TestCase sock = Kgio::UNIXSocket.new(path) rescue Errno::ENOENT end while (nr += 1) < 10000 - sock.close + sock.close if sock end end |