lib/rbbt/util/concurrency/processes/socket.rb in rbbt-util-5.23.14 vs lib/rbbt/util/concurrency/processes/socket.rb in rbbt-util-5.23.15
- old
+ new
@@ -76,14 +76,14 @@
def closed_write?
@swrite.closed?
end
def close_write
- @swrite.close
+ @swrite.close unless closed_write?
end
def close_read
- @sread.close
+ @sread.close unless closed_read?
end
#{{{ ACCESSOR
def push(obj)