MCPcopy Create free account
hub / github.com/KDE/kdevelop / ~MIDebugger

Method ~MIDebugger

plugins/debuggercommon/midebugger.cpp:55–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53}
54
55MIDebugger::~MIDebugger()
56{
57 // prevent Qt warning: QProcess: Destroyed while process is still running.
58 if (m_process && m_process->state() == QProcess::Running) {
59 disconnect(m_process, &QProcess::errorOccurred,
60 this, &MIDebugger::processErrored);
61 m_process->kill();
62 m_process->waitForFinished(10);
63 }
64}
65
66void MIDebugger::execute(std::unique_ptr<MICommand> command)
67{

Callers

nothing calls this directly

Calls 2

stateMethod · 0.45
killMethod · 0.45

Tested by

no test coverage detected