Method: Fluent::Plugin::TailInput::TailWatcher#detach

Defined in:
lib/fluent/plugin/in_tail.rb

#detach(shutdown_start_time = nil) ⇒ Object



844
845
846
847
848
849
850
# File 'lib/fluent/plugin/in_tail.rb', line 844

def detach(shutdown_start_time = nil)
  if @io_handler
    @io_handler.ready_to_shutdown(shutdown_start_time)
    @io_handler.on_notify
  end
  @line_buffer_timer_flusher&.close(self)
end