lib/sinatra-websocketio/websocketio.rb in sinatra-websocketio-0.1.7 vs lib/sinatra-websocketio/websocketio.rb in sinatra-websocketio-0.2.0
- old
+ new
@@ -4,10 +4,9 @@
@@running = false
def self.running?
@@running
end
-
def self.start
return if running?
@@running = true
EM::defer do
while !EM::reactor_running? do