[Groonga-commit] droonga/droonga-engine at 847e997 [master] Ignore no-loop cases

Back to archive index

YUKI Hiroshi null+****@clear*****
Sat Jun 28 02:21:01 JST 2014


YUKI Hiroshi	2014-06-28 02:21:01 +0900 (Sat, 28 Jun 2014)

  New Revision: 847e997c7ac956eec7a3a714e9bd9f92ef6b21a4
  https://github.com/droonga/droonga-engine/commit/847e997c7ac956eec7a3a714e9bd9f92ef6b21a4

  Message:
    Ignore no-loop cases

  Modified files:
    lib/droonga/serf.rb

  Modified: lib/droonga/serf.rb (+2 -2)
===================================================================
--- lib/droonga/serf.rb    2014-06-28 02:20:40 +0900 (8406091)
+++ lib/droonga/serf.rb    2014-06-28 02:21:01 +0900 (dd38cf8)
@@ -255,7 +255,7 @@ module Droonga
         @output_io.on_read do |data|
           on_read_output.call(data)
         end
-        @loop.attach(@output_io)
+        @loop.attach(@output_io) if @loop
 
         error_line_buffer = LineBuffer.new
         on_read_error = lambda do |data|
@@ -265,7 +265,7 @@ module Droonga
         @error_io.on_read do |data|
           on_read_error.call(data)
         end
-        @loop.attach(@error_io)
+        @loop.attach(@error_io) if @loop
 
         result
       end
-------------- next part --------------
HTML����������������������������...
Download 



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