MCPcopy Create free account
hub / github.com/Universal-Team/Universal-Updater / ClearQueue

Method ClearQueue

source/utils/queueSystem.cpp:74–83  ·  view source on GitHub ↗

Clears the queue. */

Source from the content-addressed store, hash-verified

72 Clears the queue.
73*/
74void QueueSystem::ClearQueue() {
75 QueueRuns = false;
76 queueEntries.clear();
77
78 if (queueThread) {
79 threadJoin(queueThread, U64_MAX);
80 threadFree(queueThread);
81 queueThread = nullptr;
82 }
83}
84
85/*
86 Use this, to go back to the queue after the Request.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected