OSDN Git Service

Moved TestPairing class to test/TC_pairing.rb.
[shogi-server/shogi-server.git] / shogi-server
index 3595fc3..e65c9f0 100755 (executable)
@@ -387,8 +387,10 @@ def main
       fg_thread.kill if fg_thread
     end
   end
-  trap("HUP") do
-    Dependencies.clear
+  unless (RUBY_PLATFORM.downcase =~ /mswin|mingw|cygwin|bccwin/)
+    trap("HUP") do
+      Dependencies.clear
+    end
   end
   $stderr.puts("server started as a deamon [Revision: #{ShogiServer::Revision}]") if $options["daemon"] 
   log_message("server started [Revision: #{ShogiServer::Revision}]")