MCPcopy Create free account
hub / github.com/MultiMC/Launcher / abort

Method abort

launcher/minecraft/launch/DirectJavaLaunch.cpp:139–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

137}
138
139bool DirectJavaLaunch::abort()
140{
141 auto state = m_process.state();
142 if (state == LoggedProcess::Running || state == LoggedProcess::Starting)
143 {
144 m_process.kill();
145 }
146 return true;
147}
148

Callers

nothing calls this directly

Calls 2

stateMethod · 0.45
killMethod · 0.45

Tested by

no test coverage detected