Paul Klumpp hace 12 años
padre
commit
da750a410b
Se han modificado 1 ficheros con 3 adiciones y 2 borrados
  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