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

Method lock

launcher/ui/pages/instance/ServersPage.cpp:223–233  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

221 }
222
223 void lock()
224 {
225 if(m_locked)
226 {
227 return;
228 }
229 saveNow();
230
231 m_locked = true;
232 updateFSObserver();
233 }
234
235 void unlock()
236 {

Callers 4

globalSettingsMethod · 0.45
createInstanceMethod · 0.45
ServersPageMethod · 0.45
runningStateChangedMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected