prosgarz35 commented on PR #3198:
URL: https://github.com/apache/james-project/pull/3198#issuecomment-5825400550
A little FIX!
I have addressed the potential race condition regarding pending mailbox
events during sink cleanup:
In `IdleMailboxListener.reactiveEvent()`, we now guard the deferred
`unsolicitedResponses` execution with `if (!idleActive.get()) return
Mono.empty();`.
If `idleReadySink` is completed via `cleanupIdle()` (due to disconnect,
`DONE`, invalid continuation, or logout), any queued/waiting mailbox events are
cleanly discarded instead of generating responses or flushing against a
closed/terminated session.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]