OSDN Git Service

shogi_server/league/floodgate_thread.rb: SetupFloodgate#start now returns an instance...
authordaigo <beatles@users.sourceforge.jp>
Tue, 3 Aug 2010 12:44:26 +0000 (21:44 +0900)
committerDaigo Moriwaki <daigo@debian.org>
Tue, 3 Aug 2010 12:44:26 +0000 (21:44 +0900)
changelog
shogi_server/league/floodgate_thread.rb

index 0a39bad..2728a70 100644 (file)
--- a/changelog
+++ b/changelog
@@ -1,9 +1,11 @@
 2010-08-03  Daigo Moriwaki <daigo at debian dot org>
 
        * [shogi-server]
-         - sample/{check_file.rb,check_time.rb,check_time2.rb,test_time.rb}
+         - sample/{check_file.rb,check_time.rb,check_time2.rb,test_time.rb}:
            Added new files to test an issue where mtime of log files was
            earlier than system time.
+         - shogi_server/league/floodgate_thread.rb: SetupFloodgate#start
+           now returns an instance correctly.
 
 2010-07-25  Daigo Moriwaki <daigo at debian dot org>
 
index 9748363..4cd9be1 100644 (file)
@@ -117,10 +117,9 @@ module ShogiServer
             log_error("[in Floodgate's thread] #{ex} #{ex.backtrace}")
           end
         end # infinite loop
-
-        return @thread
       end # Thread
 
+      return @thread
     end # def start
 
     def kill