MCPcopy Index your code
hub / github.com/CodeGraphContext/CodeGraphContext / stop

Method stop

src/codegraphcontext/core/watcher.py:377–382  ·  view source on GitHub ↗

Stops the observer thread gracefully.

(self)

Source from the content-addressed store, hash-verified

375 info_logger("Code watcher observer thread started.")
376
377 def stop(self):
378 """Stops the observer thread gracefully."""
379 if self.observer.is_alive():
380 self.observer.stop()
381 self.observer.join() # Wait for the thread to terminate.
382 info_logger("Code watcher observer thread stopped.")

Callers 2

watch_helperFunction · 0.95
shutdownMethod · 0.45

Calls 1

info_loggerFunction · 0.90

Tested by

no test coverage detected