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

Method stop

core/utils.py:375–380  ·  view source on GitHub ↗

Stop the renewal thread.

(self)

Source from the content-addressed store, hash-verified

373 return self
374
375 def stop(self):
376 """Stop the renewal thread."""
377 self._stop_event.set()
378 if self._thread and self._thread.is_alive():
379 self._thread.join(timeout=5)
380 self._thread = None
381
382 def __enter__(self):
383 self.start()

Callers 7

__exit__Method · 0.95
refresh_m3u_groupsFunction · 0.95
refresh_epg_dataFunction · 0.95
fetch_sd_guide_for_epgFunction · 0.95

Calls 1

setMethod · 0.45

Tested by

no test coverage detected