MCPcopy Create free account
hub / github.com/Dispatcharr/Dispatcharr / shutdown

Method shutdown

apps/proxy/hls_proxy/server.py:866–869  ·  view source on GitHub ↗

Stop all channels and cleanup

(self)

Source from the content-addressed store, hash-verified

864 collection.pop(channel_id, None)
865
866 def shutdown(self) -> None:
867 """Stop all channels and cleanup"""
868 for channel_id in list(self.stream_managers.keys()):
869 self.stop_channel(channel_id)
870
871 # Remove Flask-specific routing
872 def _setup_routes(self) -> None:

Callers 2

server.pyFile · 0.45
handleMethod · 0.45

Calls 2

stop_channelMethod · 0.95
keysMethod · 0.80

Tested by

no test coverage detected