Hi, On Wed, Aug 15, 2012 at 10:37 AM, Michael Dürig <[email protected]> wrote: > No test case but its obvious from the code. There was a condition variable > earlier which signalled a pending shut down (or ObservationManager.dispose) > to the ChangeProcessor. The later used that to exit its run method.
I guess we could restore something like that. But note that we can't control what goes on inside an observation listener registered by a client, so whatever we do there's no way to guarantee a timely return from an observation listener. That's why I wouldn't worry too much about that case, and instead just throw exceptions to any background threads that are still trying to access a repository that's already closed. BR, Jukka Zitting
