Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
107
bool 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
state
Method · 0.45
kill
Method · 0.45
Tested by
no test coverage detected