diff options
author | Ryan Cragun <me@ryan.ec> | 2014-10-31 12:29:40 -0700 |
---|---|---|
committer | Ryan Cragun <me@ryan.ec> | 2014-10-31 12:29:40 -0700 |
commit | 05c7874726c40c4d3db115e74ba80c23699576d6 (patch) | |
tree | 5c6ed77141c18f23dbb2ff6e24e57fe454d56607 | |
parent | 1e250a93e8a4d7717f747b51bdbbf4a3d9aa3dde (diff) | |
download | mixlib-shellout-ryan/issue_2062_10.tar.gz |
Remove child process pipe from open pipes when the stream is closedryan/issue_2062_10
-rw-r--r-- | lib/mixlib/shellout/unix.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/mixlib/shellout/unix.rb b/lib/mixlib/shellout/unix.rb index c752bd0..ef1d884 100644 --- a/lib/mixlib/shellout/unix.rb +++ b/lib/mixlib/shellout/unix.rb @@ -349,6 +349,7 @@ module Mixlib true ensure child_process_status.close + open_pipes.delete(child_process_status) end end |