summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRyan Cragun <me@ryan.ec>2014-10-31 12:29:40 -0700
committerRyan Cragun <me@ryan.ec>2014-10-31 12:58:10 -0700
commit634d75819af2f56699516e263a566142993a02fb (patch)
tree815d29044c08222e31ee74e6d64666f557956648 /lib
parentce6348d4e543cb5bb32e21963f8741e13f437914 (diff)
downloadmixlib-shellout-634d75819af2f56699516e263a566142993a02fb.tar.gz
Remove child process pipe from open pipes when the stream is closed
Diffstat (limited to 'lib')
-rw-r--r--lib/mixlib/shellout/unix.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/mixlib/shellout/unix.rb b/lib/mixlib/shellout/unix.rb
index e0b6d67..66c4489 100644
--- a/lib/mixlib/shellout/unix.rb
+++ b/lib/mixlib/shellout/unix.rb
@@ -326,6 +326,7 @@ module Mixlib
true
ensure
child_process_status.close
+ open_pipes.delete(child_process_status)
end
end