MCPcopy Create free account
hub / github.com/PolyMC/PolyMC / abort

Method abort

launcher/launch/steps/PostLaunchCommand.cpp:107–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105}
106
107bool PostLaunchCommand::abort()
108{
109 auto state = m_process.state();
110 if (state == LoggedProcess::Running || state == LoggedProcess::Starting)
111 {
112 m_process.kill();
113 }
114 return true;
115}

Callers

nothing calls this directly

Calls 2

stateMethod · 0.45
killMethod · 0.45

Tested by

no test coverage detected