diff options
author | Eric Wong <normalperson@yhbt.net> | 2013-09-01 22:13:09 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2013-09-01 22:13:09 +0000 |
commit | 4edc13592f71e54d4ef620fc67080733d88c53d0 (patch) | |
tree | 3449f4c555a77f4647437d27321ceaf793e68154 /lib/dtas/player/client_handler.rb | |
parent | 8b890e002517160d37012800b29339a1a4875af3 (diff) | |
download | dtas-4edc13592f71e54d4ef620fc67080733d88c53d0.tar.gz |
stop_sinks is already defined, so avoid repeating this loop
Diffstat (limited to 'lib/dtas/player/client_handler.rb')
-rw-r--r-- | lib/dtas/player/client_handler.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/dtas/player/client_handler.rb b/lib/dtas/player/client_handler.rb index bbdc1c5..16714f0 100644 --- a/lib/dtas/player/client_handler.rb +++ b/lib/dtas/player/client_handler.rb @@ -385,7 +385,7 @@ module DTAS::Player::ClientHandler # :nodoc: def restart_pipeline return if @paused __current_requeue - @targets.each { |t| drop_target(t) }.clear + stop_sinks end def format_handler(io, msg) |