MCPcopy Create free account
hub / github.com/VCVRack/Rack / syncUpdates

Function syncUpdates

src/library.cpp:404–414  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

402
403
404void syncUpdates() {
405 if (settings::token.empty())
406 return;
407
408 // updateInfos could possibly change in the checkUpdates() thread, but checkUpdates() will not execute if syncUpdate() is running, so the chance of the updateInfos map being modified while iterating is rare.
409 auto updateInfosClone = updateInfos;
410 for (auto& pair : updateInfosClone) {
411 syncUpdate(pair.first);
412 }
413 restartRequested = true;
414}
415
416
417std::string appVersion;

Callers 1

onActionMethod · 0.85

Calls 2

syncUpdateFunction · 0.85
emptyMethod · 0.45

Tested by

no test coverage detected