Close session repository only once
@@ -121,7 +121,6 @@ public class Tenant implements TenantHandlerProvider {
* Called by watchers as a reaction to {@link #delete()}.
*/
void close() {
- sessionRepository.close(); // Closes watchers and clears memory.
applicationRepo.close(); // Closes watchers.
sessionRepository.close(); // Closes watchers, clears memory, and deletes local files and ZK session state.
}
