cbm_thread_create body: extract job->src as C#, then free this thread's * parser and caches as a worker thread does when it ends (LeakSanitizer * reports them otherwise). */
| 5991 | * parser and caches as a worker thread does when it ends (LeakSanitizer |
| 5992 | * reports them otherwise). */ |
| 5993 | static void *dm_extract_thread(void *arg) { |
| 5994 | dm_extract_job_t *job = (dm_extract_job_t *)arg; |
| 5995 | job->result = dm_extract(job->src, CBM_LANG_CSHARP, job->rel_path); |
| 5996 | cbm_destroy_thread_parser(); |
| 5997 | cbm_kind_in_set_free_cache(); |
| 5998 | return NULL; |
| 5999 | } |
| 6000 | |
| 6001 | /* Interpolated strings nest: a hole of code can hold the next string. The |
| 6002 | * brace scan follows them to a fixed depth; a file that goes deeper is not |
nothing calls this directly
no test coverage detected