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

Method abort

launcher/minecraft/launch/DirectJavaLaunch.cpp:157–165  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

155}
156
157bool DirectJavaLaunch::abort()
158{
159 auto state = m_process.state();
160 if (state == LoggedProcess::Running || state == LoggedProcess::Starting)
161 {
162 m_process.kill();
163 }
164 return true;
165}
166

Callers

nothing calls this directly

Calls 2

stateMethod · 0.45
killMethod · 0.45

Tested by

no test coverage detected