|
@@ -28,7 +28,7 @@ std::string VStarCamRecorder::Snapshot(ctpl::thread_pool* pThreadPool)
|
|
|
|
|
|
|
|
Http::HttpClient* pHttpClient = m_pHttpClient;
|
|
Http::HttpClient* pHttpClient = m_pHttpClient;
|
|
|
Settings settings = m_settings;
|
|
Settings settings = m_settings;
|
|
|
- pThreadPool->push( [pHttpClient, settings, dateTimeString](int) { VStarCamRecorder::Snapshots(pHttpClient, settings, dateTimeString, 1); } );
|
|
|
|
|
|
|
+ VStarCamRecorder::Snapshots(pHttpClient, settings, dateTimeString, 1);
|
|
|
|
|
|
|
|
return fileName;
|
|
return fileName;
|
|
|
}
|
|
}
|