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

Function cbm_destroy_thread_parser

internal/cbm/cbm.c:374–381  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

372}
373
374void cbm_destroy_thread_parser(void) {
375 // Full cleanup: delete the parser. Call on worker thread exit.
376 if (tl_parser) {
377 ts_parser_delete(tl_parser);
378 tl_parser = NULL;
379 tl_parser_lang = CBM_LANG_COUNT;
380 }
381}
382
383void cbm_shutdown(void) {
384 // Clean up thread-local parser for the calling thread.

Callers 6

cbm_shutdownFunction · 0.85
extract_workerFunction · 0.85
cbm_parallel_extract_exFunction · 0.85
resolve_workerFunction · 0.85
run_sequential_pipelineFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected