[Groonga-commit] groonga/fluent-plugin-groonga at 96d911b [use-v0.14-api-in-groonga] in: call super after plugin specific shutdown method

アーカイブの一覧に戻る

Kentaro Hayashi null+****@clear*****
Wed Apr 12 17:53:56 JST 2017


Kentaro Hayashi	2017-04-12 17:53:56 +0900 (Wed, 12 Apr 2017)

  New Revision: 96d911b247f59b1e7d4e50c27e2124514e85521c
  https://github.com/groonga/fluent-plugin-groonga/commit/96d911b247f59b1e7d4e50c27e2124514e85521c

  Message:
    in: call super after plugin specific shutdown method
    
    It is better to cleanup plugin specific one before executing general
    cleanup method - super is called.

  Modified files:
    lib/fluent/plugin/in_groonga.rb

  Modified: lib/fluent/plugin/in_groonga.rb (+1 -1)
===================================================================
--- lib/fluent/plugin/in_groonga.rb    2017-04-12 17:38:07 +0900 (f93502b)
+++ lib/fluent/plugin/in_groonga.rb    2017-04-12 17:53:56 +0900 (7fe1ea6)
@@ -52,8 +52,8 @@ module Fluent
     end
 
     def shutdown
-      super
       @input.shutdown
+      super
     end
 
     class Repeater < Coolio::TCPSocket
-------------- next part --------------
HTML����������������������������...
ダウンロード 



More information about the Groonga-commit mailing list
アーカイブの一覧に戻る