diff options
Diffstat (limited to 'test/openssl/utils.rb')
-rw-r--r-- | test/openssl/utils.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/openssl/utils.rb b/test/openssl/utils.rb index 655cd0b6d2..1c64c36285 100644 --- a/test/openssl/utils.rb +++ b/test/openssl/utils.rb @@ -321,8 +321,8 @@ AQjjxMXhwULlmuR/K+WwlaZPiLIBYalLAZQ7ZbOPeVkJ8ePao0eLAgEC end end ensure - stop_pipe_r.close if !stop_pipe_r.closed? - stop_pipe_w.close if !stop_pipe_w.closed? + stop_pipe_r.close if stop_pipe_r && !stop_pipe_r.closed? + stop_pipe_w.close if stop_pipe_w && !stop_pipe_w.closed? assert_join_threads(threads) end |