mirror of
https://github.com/cookiengineer/audacity
synced 2026-02-07 12:12:23 +01:00
a null check and a comment
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user