equal
deleted
inserted
replaced
458 if not (self.config.creating or self.config.repairing |
458 if not (self.config.creating or self.config.repairing |
459 or self.config.quick_start): |
459 or self.config.quick_start): |
460 # then, the system source is still available |
460 # then, the system source is still available |
461 self.hm.call_hooks('before_server_shutdown', repo=self) |
461 self.hm.call_hooks('before_server_shutdown', repo=self) |
462 self.shutting_down = True |
462 self.shutting_down = True |
|
463 self.info('shutting down repository') |
463 self.system_source.shutdown() |
464 self.system_source.shutdown() |
464 if not (self.config.creating or self.config.repairing |
465 if not (self.config.creating or self.config.repairing |
465 or self.config.quick_start): |
466 or self.config.quick_start): |
466 self.hm.call_hooks('server_shutdown', repo=self) |
467 self.hm.call_hooks('server_shutdown', repo=self) |
467 for thread in self._running_threads: |
468 for thread in self._running_threads: |