about summary refs log tree commit homepage
path: root/lib/dtas
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2013-08-25 08:25:17 +0000
committerEric Wong <normalperson@yhbt.net>2013-08-25 08:25:17 +0000
commit4dd832c6c9b786f1d0b8c05b29d94ec0f28db734 (patch)
tree2c6ddf371316e0683c075b1683f41e7f020834ca /lib/dtas
parentddea35e23596e32255222a001538571e335055af (diff)
downloaddtas-4dd832c6c9b786f1d0b8c05b29d94ec0f28db734.tar.gz
Instead, we rely on closing the pipe (EOF or SIGPIPE) to
stop sources and sinks.  This way we remove the possibility
of old and new processes operating on the same pipe and
causing strange audio overlaps.
Diffstat (limited to 'lib/dtas')
-rw-r--r--lib/dtas/command.rb5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/dtas/command.rb b/lib/dtas/command.rb
index 500a6d7..67f5768 100644
--- a/lib/dtas/command.rb
+++ b/lib/dtas/command.rb
@@ -28,11 +28,6 @@ module DTAS::Command # :nodoc:
     end
   end
 
-  def kill(sig = :TERM)
-    # always kill the pgroup since we run subcommands in their own shell
-    Process.kill(sig, -@pid)
-  end
-
   def on_death(status)
     @pid = nil
   end