MCPcopy Create free account
hub / github.com/DISTRHO/DPF / quit

Method quit

dgl/src/ApplicationPrivateData.cpp:155–175  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

153}
154
155void Application::PrivateData::quit()
156{
157 if (! isThisTheMainThread(mainThreadHandle))
158 {
159 if (! isQuittingInNextCycle)
160 {
161 isQuittingInNextCycle = true;
162 return;
163 }
164 }
165
166 isQuitting = true;
167
168 #ifndef DPF_TEST_APPLICATION_CPP
169 for (WindowListReverseIterator rit = windows.rbegin(), rite = windows.rend(); rit != rite; ++rit)
170 {
171 DGL_NAMESPACE::Window* const window(*rit);
172 window->close();
173 }
174 #endif
175}
176
177double Application::PrivateData::getTime() const
178{

Callers

nothing calls this directly

Calls 2

isThisTheMainThreadFunction · 0.85
closeMethod · 0.45

Tested by

no test coverage detected