lib/fluent/plugin/in_websocket.rb
# This method is called when shutting down.
# Shutdown the thread and close sockets or files here.
This method is called when shutting down.
Shutdown the thread and close sockets or files here.
This method is called when shutting down . Shutdown the thread and close sockets or files here .
def shutdown
      super
      EM.stop
      Thread::kill(@thread)
      log_message 'closed EM and thread'
    end
def shutdown super EM . stop Thread :: kill ( @thread ) log_message 'closed EM and thread' end
This method is called when shutting down.
This method is called when shutting down .