OSDN Git Service

For SwissPairing, the odd winners include a newbie who is not rated yet, a player...
[shogi-server/shogi-server.git] / shogi-server
index 23dde67..597f675 100755 (executable)
@@ -2310,7 +2310,7 @@ if ($0 == __FILE__)
   STDOUT.sync = true
   STDERR.sync = true
   TCPSocket.do_not_reverse_lookup = true
-  Thread.abort_on_exception = false
+  Thread.abort_on_exception = $DEBUG ? true : false
 
   LEAGUE = ShogiServer::League::new
   main