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

Method abort

launcher/launch/steps/PostLaunchCommand.cpp:94–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

stateMethod · 0.45
killMethod · 0.45

Tested by

no test coverage detected