Paul Klumpp 11 年 前
コミット
da750a410b
1 ファイル変更3 行追加2 行削除
  1. 3 2
      em_server.rb

+ 3 - 2
em_server.rb

@@ -404,8 +404,9 @@ def main
 	# #run: Note that this will block current thread.
 	EventMachine.run do
 
-    EventMachine.start_server("0.0.0.0", 7337, InterconnectionPointProtocolHandler)
-
+    f = Fiber.new do
+      EventMachine.start_server("0.0.0.0", 7337, InterconnectionPointProtocolHandler)
+    end.resume
 	end
 end