Fix mutex lock issues (OCR and FR)
This commit is contained in:
@@ -73,6 +73,7 @@ namespace ANSCENTER {
|
||||
std::vector<Object> output;
|
||||
output.clear();
|
||||
if (!_licenseValid) {
|
||||
if (_modelLoading.load()) return {};
|
||||
this->_logger.LogError("ANSCNNFD::RunInference", "Invalid license", __FILE__, __LINE__);
|
||||
return output;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user