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:
parent
b7db5af4c5
commit
11bbce10b1
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user