MCPcopy Create free account
hub / github.com/Snapchat/Valdi / flushQueues

Method flushQueues

valdi/test/runtime/AssetsManager_tests.cpp:209–213  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

207 ASSERT_TRUE(allCallbacksCalled());
208 assetsManager->setListener(nullptr);
209 assets.clear();
210 }
211
212 void flushQueues() {
213 mainQueue->flush();
214 workerQueue->sync([]() {});
215 mainQueue->flush();
216 }

Callers 1

TESTFunction · 0.45

Calls 2

flushMethod · 0.65
syncMethod · 0.45

Tested by

no test coverage detected