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

Method stop

src/codegraphcontext/core/watcher.py:450–457  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

448 self.observer.start()
449
450 def stop(self):
451 for h in self.handlers.values():
452 h.cancel_timers()
453 self.handlers.clear()
454
455 if self.observer.is_alive():
456 self.observer.stop()
457 self.observer.join()

Callers 3

watch_helperFunction · 0.95
_stop_current_watcherMethod · 0.45
shutdownMethod · 0.45

Calls 3

cancel_timersMethod · 0.80
valuesMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected