mirror of
https://github.com/cookiengineer/audacity
synced 2025-07-04 14:39:08 +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;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// This isn't yet used?
|
||||||
void Module::Unload()
|
void Module::Unload()
|
||||||
{
|
{
|
||||||
if (mLib->IsLoaded()) {
|
if (mLib->IsLoaded()) {
|
||||||
mDispatch(ModuleTerminate);
|
if (mDispatch)
|
||||||
|
mDispatch(ModuleTerminate);
|
||||||
}
|
}
|
||||||
|
|
||||||
mLib->Unload();
|
mLib->Unload();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user