Hi, On Thu, Aug 16, 2012 at 4:06 PM, Michael Dürig <[email protected]> wrote: > Throwing exceptions client accesses the repository from an observation > listener which "takes too long" is fine for me. However I think the > repository should stop sending observation events as soon as a shut down is > pending.
Makes sense. Can we use the same mechanism to stop event delivery when a client unregisters a listener? Currently the removeEventListener() method is synchronized with event delivery, which achieves the effect of no events being delivered after the method returns, at the cost of the method potentially blocking for a while. BR, Jukka Zitting
