MCPcopy Create free account
hub / github.com/Codeya-IDE/deepin-ide / deleteProc

Method deleteProc

src/common/lsp/server/route.cpp:41–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39}
40
41void Route::deleteProc(int exitCode, QProcess::ExitStatus exitstatus)
42{
43 Q_UNUSED(exitCode)
44 Q_UNUSED(exitstatus)
45 QProcess *proc = qobject_cast<QProcess*>(sender());
46 if (proc) {
47 ProjectKey key = Route::key(proc);
48 savedProcs.remove(key);
49 proc->kill();
50 proc->deleteLater();
51 }
52}
53
54}

Callers

nothing calls this directly

Calls 3

keyFunction · 0.85
removeMethod · 0.45
killMethod · 0.45

Tested by

no test coverage detected