MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / cbm_destroy_thread_parser

Function cbm_destroy_thread_parser

internal/cbm/cbm.c:347–354  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

345}
346
347void cbm_destroy_thread_parser(void) {
348 // Full cleanup: delete the parser. Call on worker thread exit.
349 if (tl_parser) {
350 ts_parser_delete(tl_parser);
351 tl_parser = NULL;
352 tl_parser_lang = CBM_LANG_COUNT;
353 }
354}
355
356void cbm_shutdown(void) {
357 // Clean up thread-local parser for the calling thread.

Callers 4

cbm_shutdownFunction · 0.85
extract_workerFunction · 0.85
resolve_workerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected