Report more errors, better

This commit is contained in:
Lion Kortlepel committed 2021-10-01 03:52:12 +02:00
1 parent ae7a63669f
commit 9eabd19e17
4 files changed
+11 -9

No files matched your search

+1 -1
View File
@@ -143,7 +143,7 @@ void TLuaEngine::WaitForAll(std::vector<std::shared_ptr<TLuaResult>>& Results) {
}
// run this on the error checking thread
void TLuaEngine::IgnoreIfNotError(const std::vector<std::shared_ptr<TLuaResult>>& Results) {
void TLuaEngine::ReportErrors(const std::vector<std::shared_ptr<TLuaResult>>& Results) {
std::unique_lock Lock2(mResultsToCheckMutex);
for (const auto& Result : Results) {
mResultsToCheck.push(Result);