MCPcopy Create free account
hub / github.com/BabylonJS/BabylonNative / ~WorkQueue

Method ~WorkQueue

Core/AppRuntime/Source/WorkQueue.cpp:10–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8 }
9
10 WorkQueue::~WorkQueue()
11 {
12 if (m_suspended)
13 {
14 Resume();
15 }
16
17 m_cancelSource.cancel();
18 m_dispatcher.cancelled();
19
20 m_thread.join();
21 }
22
23 void WorkQueue::Append(std::function<void(Napi::Env)> callable)
24 {

Callers

nothing calls this directly

Calls 1

ResumeFunction · 0.85

Tested by

no test coverage detected