Skip to content

Commit b9b78df

Browse files
committed
Rotate current events until segment end exclusively
1 parent 5e119af commit b9b78df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sentry-android-replay/src/main/java/io/sentry/android/replay/capture/BaseCaptureStrategy.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ internal abstract class BaseCaptureStrategy(
338338
) {
339339
synchronized(currentEventsLock) {
340340
var event = currentEvents.peek()
341-
while (event != null && event.timestamp <= until) {
341+
while (event != null && event.timestamp < until) {
342342
callback?.invoke(event)
343343
currentEvents.remove()
344344
event = currentEvents.peek()

0 commit comments

Comments
 (0)