diff options
author | Eric Wong <normalperson@yhbt.net> | 2013-08-25 08:25:17 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2013-08-25 08:25:17 +0000 |
commit | 4dd832c6c9b786f1d0b8c05b29d94ec0f28db734 (patch) | |
tree | 2c6ddf371316e0683c075b1683f41e7f020834ca /lib/dtas/command.rb | |
parent | ddea35e23596e32255222a001538571e335055af (diff) | |
download | dtas-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/command.rb')
-rw-r--r-- | lib/dtas/command.rb | 5 |
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 |