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

Back to archive index

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: 0f577d014ff791a79e02a459266e5d73ab34a545
  https://github.com/groonga/fluent-plugin-groonga/commit/0f577d014ff791a79e02a459266e5d73ab34a545

  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 (89b3834)
+++ lib/fluent/plugin/in_groonga.rb    2017-04-12 17:53:56 +0900 (25a4730)
@@ -52,8 +52,8 @@ module Fluent
     end
 
     def shutdown
-      super
       @input.shutdown
+      super
     end
 
     class Repeater < Coolio::TCPSocket
-------------- next part --------------
HTML����������������������������...
Télécharger 



More information about the Groonga-commit mailing list
Back to archive index