more webshlocket
This commit is contained in:
parent
f2e995dcc0
commit
a54a201b97
|
@ -188,6 +188,8 @@ module Landline
|
||||||
def _process_events(next_frame)
|
def _process_events(next_frame)
|
||||||
loop do
|
loop do
|
||||||
frame = next_frame.call
|
frame = next_frame.call
|
||||||
|
return nil unless frame
|
||||||
|
|
||||||
case frame.type
|
case frame.type
|
||||||
when :binary, :text, :pong then return frame
|
when :binary, :text, :pong then return frame
|
||||||
when :ping
|
when :ping
|
||||||
|
|
Loading…
Reference in New Issue