Hi, On Fri, Jun 14, 2013 at 12:41 PM, Michael Dürig <mdue...@apache.org> wrote: > AFAIU to comply with the removeEventListener contract we either have to > interrupt the observation thread (like my implementation did) or live with > the deadlock caused by client handlers blocking on events (like you > experienced with RepositoryTest.observationDispose).
I would rather do the latter. Interrupting threads is nasty business, and the potential blocking would only affect the client that's in charge of the troublesome listener. BR, Jukka Zitting