lib/tork/client.rb in tork-17.0.0 vs lib/tork/client.rb in tork-17.0.1

- old
+ new

@@ -39,10 +39,11 @@ @receiver = Receiver.new(@popen_io, &receive_block) super @popen_io end def quit - kill # stop receive loop + kill # stop transmit loop + @receiver.kill # stop receive loop Process.kill :SIGTERM, @popen_io.pid Process.wait @popen_io.pid # reap zombie @popen_io.close # prevent further I/O end end