MCPcopy Index your code
hub / github.com/git/git / subprocess_stop

Function subprocess_stop

sub-process.c:52–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50}
51
52void subprocess_stop(struct hashmap *hashmap, struct subprocess_entry *entry)
53{
54 if (!entry)
55 return;
56
57 entry->process.clean_on_exit = 0;
58 kill(entry->process.pid, SIGTERM);
59 finish_command(&entry->process);
60
61 hashmap_remove(hashmap, &entry->ent, NULL);
62}
63
64static void subprocess_exit_handler(struct child_process *process)
65{

Callers 2

handle_filter_errorFunction · 0.85
subprocess_startFunction · 0.85

Calls 2

finish_commandFunction · 0.85
hashmap_removeFunction · 0.85

Tested by

no test coverage detected