We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ceba0da commit 7bf8c9eCopy full SHA for 7bf8c9e
sentry-ruby/lib/sentry/hub.rb
@@ -255,7 +255,11 @@ def end_session
255
256
return unless session
257
session.close
258
- Sentry.session_flusher.add_session(session)
+
259
+ # NOTE: Under some circumstances, session_flusher nilified out of sync
260
+ # See: https://github.com/getsentry/sentry-ruby/issues/2378
261
+ # See: https://github.com/getsentry/sentry-ruby/pull/2396
262
+ Sentry.session_flusher&.add_session(session)
263
end
264
265
def with_session_tracking(&block)
0 commit comments