MCPcopy Create free account
hub / github.com/Redot-Engine/redot-engine / stop_child_process

Method stop_child_process

editor/run/editor_run.cpp:223–228  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

221}
222
223void EditorRun::stop_child_process(OS::ProcessID p_pid) {
224 if (has_child_process(p_pid)) {
225 OS::get_singleton()->kill(p_pid);
226 pids.erase(p_pid);
227 }
228}
229
230void EditorRun::stop() {
231 if (status != STATUS_STOP && pids.size() > 0) {

Callers

nothing calls this directly

Calls 2

killMethod · 0.45
eraseMethod · 0.45

Tested by

no test coverage detected