Fix CallInit overriding the error from dlopen.

This commit is contained in:
Sadie Powell 2020-05-19 20:22:36 +01:00
parent 270e77e05f
commit fdf0e13dd0

View File

@ -69,6 +69,9 @@ DLLManager::~DLLManager()
Module* DLLManager::CallInit()
{
if (!lib)
return NULL;
const unsigned long* abi = GetSymbol<const unsigned long>(MODULE_STR_ABI);
if (!abi)
{