()
| 786 | |
| 787 | |
| 788 | def stop_serving(): |
| 789 | global listener |
| 790 | if listener is not None: |
| 791 | try: |
| 792 | listener.close() |
| 793 | except Exception: |
| 794 | log.swallow_exception(level="warning") |
| 795 | listener = None |
| 796 | sessions.report_sockets() |
nothing calls this directly
no test coverage detected
searching dependent graphs…