Skip to content

Fix NPE in FluxWindowTimeout when window is null#1

Open
AHWSWTYCL wants to merge 1 commit into
mainfrom
fix/window-timeout-npe
Open

Fix NPE in FluxWindowTimeout when window is null#1
AHWSWTYCL wants to merge 1 commit into
mainfrom
fix/window-timeout-npe

Conversation

@AHWSWTYCL

Copy link
Copy Markdown
Owner

No description provided.

Add null check in WindowTimeoutWithBackpressureSubscriber.onNext()
to handle hot publishers that emit before downstream request().

Elements are dropped gracefully using Operators.onNextDropped()
when window hasn't been created yet, maintaining backpressure semantics.

Signed-off-by: AHWSWTYCL <2190844544@qq.com>
@AHWSWTYCL AHWSWTYCL force-pushed the fix/window-timeout-npe branch from ad61118 to d5dc39c Compare September 27, 2025 02:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants