class Fluent::Plugin::Output

def stop

def stop
  @secondary.stop if @secondary
  @buffer.stop if @buffering && @buffer
  super
end