[Groonga-commit] droonga/droonga-engine at 7af94b6 [master] Close socket on shutdown

Back to archive index

Kouhei Sutou null+****@clear*****
Tue Apr 22 12:18:47 JST 2014


Kouhei Sutou	2014-04-22 12:18:47 +0900 (Tue, 22 Apr 2014)

  New Revision: 7af94b6d35d494720100496eb683a2f91cd3e3d7
  https://github.com/droonga/droonga-engine/commit/7af94b6d35d494720100496eb683a2f91cd3e3d7

  Message:
    Close socket on shutdown

  Modified files:
    lib/droonga/fluent_message_receiver.rb

  Modified: lib/droonga/fluent_message_receiver.rb (+2 -0)
===================================================================
--- lib/droonga/fluent_message_receiver.rb    2014-04-22 12:18:26 +0900 (835dd31)
+++ lib/droonga/fluent_message_receiver.rb    2014-04-22 12:18:47 +0900 (1c51318)
@@ -82,6 +82,7 @@ module Droonga
     end
 
     def shutdown_server
+      @server.close
     end
 
     def shutdown_clients
@@ -114,6 +115,7 @@ module Droonga
       end
 
       def shutdown
+        @socket.close
         @watcher.detach
       end
 
-------------- next part --------------
HTML����������������������������...
Download 



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