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

Method finalizeSteps

launcher/launch/LaunchTask.cpp:126–140  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

124}
125
126void LaunchTask::finalizeSteps(bool successful, const QString& error)
127{
128 for(auto step = currentStep; step >= 0; step--)
129 {
130 m_steps[step]->finalize();
131 }
132 if(successful)
133 {
134 emitSucceeded();
135 }
136 else
137 {
138 emitFailed(error);
139 }
140}
141
142void LaunchTask::onProgressReportingRequested()
143{

Callers

nothing calls this directly

Calls 1

finalizeMethod · 0.45

Tested by

no test coverage detected