Make Snapshot Synchronous

This commit is contained in:
2020-05-15 20:42:43 +02:00
parent 6afdf1a387
commit a161173dec
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ std::string VStarCamRecorder::Snapshot(ctpl::thread_pool* pThreadPool)
Http::HttpClient* pHttpClient = m_pHttpClient;
Settings settings = m_settings;
pThreadPool->push( [pHttpClient, settings, dateTimeString](int) { VStarCamRecorder::Snapshots(pHttpClient, settings, dateTimeString, 1); } );
VStarCamRecorder::Snapshots(pHttpClient, settings, dateTimeString, 1);
return fileName;
}