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

Method stop

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

Source from the content-addressed store, hash-verified

385 self.observer.start()
386
387 def stop(self):
388 for h in self.handlers.values():
389 h.cancel_timers()
390 self.handlers.clear()
391
392 if self.observer.is_alive():
393 self.observer.stop()
394 self.observer.join()

Callers 3

watch_helperFunction · 0.95
_stop_current_watcherMethod · 0.45
shutdownMethod · 0.45

Calls 3

valuesMethod · 0.80
cancel_timersMethod · 0.80
clearMethod · 0.45

Tested by

no test coverage detected