MCPcopy Create free account
hub / github.com/FreesmTeam/FreesmLauncher / abort

Method abort

launcher/launch/steps/PreLaunchCommand.cpp:93–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91}
92
93bool PreLaunchCommand::abort()
94{
95 auto state = m_process.state();
96 if (state == LoggedProcess::Running || state == LoggedProcess::Starting) {
97 m_process.kill();
98 }
99 return true;
100}

Callers

nothing calls this directly

Calls 2

stateMethod · 0.45
killMethod · 0.45

Tested by

no test coverage detected