lib/pakyow/realtime/server.rb in pakyow-realtime-1.0.0.rc3 vs lib/pakyow/realtime/server.rb in pakyow-realtime-1.0.0.rc4
- old
+ new
@@ -33,9 +33,10 @@
Pakyow.logger.error e.message
end
def shutdown
disconnect
+ @sockets.each(&:shutdown)
@executor.shutdown
@executor.wait_for_termination(30)
end
def connect