1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-07-04 06:29:07 +02:00

a null check and a comment

This commit is contained in:
Paul Licameli 2020-02-16 13:23:53 -05:00
parent b7db5af4c5
commit 11bbce10b1

View File

@ -153,10 +153,12 @@ bool Module::Load()
return false;
}
// This isn't yet used?
void Module::Unload()
{
if (mLib->IsLoaded()) {
mDispatch(ModuleTerminate);
if (mDispatch)
mDispatch(ModuleTerminate);
}
mLib->Unload();