Skip to content

Commit 45cf15d

Browse files
committed
polish
1 parent a3ca3ec commit 45cf15d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

lib/splitclient-rb/sse/event_source/client.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,8 @@ def connect_stream(latch)
126126
end
127127
rescue Errno::EBADF
128128
@config.logger.debug("SSE socket is not connected (Errno::EBADF)")
129+
finally
130+
break
129131
end
130132

131133
process_data(partial_data)

0 commit comments

Comments
 (0)