[Project64] Make sure closeDll is set before calling it
This commit is contained in:
parent
529b162656
commit
6c2c0d5dd6
|
@ -231,7 +231,10 @@ void CPlugin::Close(RenderWindow * Render)
|
|||
WriteTrace(PluginTraceType(), TraceDebug, "(%s): Start", PluginType());
|
||||
RomClose(Render);
|
||||
m_Initialized = false;
|
||||
CloseDLL();
|
||||
if (CloseDLL != NULL)
|
||||
{
|
||||
CloseDLL();
|
||||
}
|
||||
WriteTrace(PluginTraceType(), TraceDebug, "(%s): Done", PluginType());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue