MCPcopy Create free account
hub / github.com/andybarry/makerscanner / StopCaptureThread

Method StopCaptureThread

Cameras.cpp:182–190  ·  view source on GitHub ↗

Shutdown the thread

Source from the content-addressed store, hash-verified

180
181// Shutdown the thread
182void Cameras::StopCaptureThread()
183{
184 if (captureThread)
185 {
186 captureThread->SetCapture(STOP);
187 captureThread->Wait();
188 captureThread = NULL;
189 }
190}
191
192bool Cameras::GetInitialData()
193{

Callers

nothing calls this directly

Calls 1

SetCaptureMethod · 0.80

Tested by

no test coverage detected