Commit d5dc39c
Fix NPE in FluxWindowTimeout when window is null
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 <[email protected]>1 parent 76e4d52 commit d5dc39c
File tree
1 file changed
+5
-0
lines changed- reactor-core/src/main/java/reactor/core/publisher
1 file changed
+5
-0
lines changedLines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
184 | 184 | | |
185 | 185 | | |
186 | 186 | | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
187 | 192 | | |
188 | 193 | | |
189 | 194 | | |
| |||
0 commit comments