Clear dlerror for code that's aggressive with error checks. Close #1279

This commit is contained in:
baldurk
2019-02-25 21:04:09 +00:00
parent 8ae9ccdd7f
commit 793ea24f9d
+3
View File
@@ -129,6 +129,9 @@ static void CheckLoadedLibraries()
}
}
// clear any dl errors in case twitchy applications get set off by false positive errors.
dlerror();
// decrement the flag counter
Atomic::Dec32(&tlsbusyflag);
}