We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 30369f7 commit 829d542Copy full SHA for 829d542
1 file changed
lib/splitclient-rb/sse/event_source/client.rb
@@ -43,11 +43,11 @@ def close(status = nil)
43
end
44
@config.logger.debug("Closing SSEClient socket")
45
46
+ push_status(status)
47
@connected.make_false
48
@socket.sync_close = true if @socket.is_a? OpenSSL::SSL::SSLSocket
49
@socket.close
50
@config.logger.debug("SSEClient socket state #{@socket.state}") if @socket.is_a? OpenSSL::SSL::SSLSocket
- push_status(status)
51
rescue StandardError => e
52
@config.logger.error("SSEClient close Error: #{e.inspect}")
53
0 commit comments