mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-27 06:55:54 -04:00
Clear unused buffers after unloading them all
This commit is contained in:
parent
5ad772c3b3
commit
574c1923fe
@ -108,6 +108,7 @@ namespace MWSound
|
||||
mOutput->unloadSound(sfxiter->mHandle);
|
||||
sfxiter->mHandle = 0;
|
||||
}
|
||||
mUnusedBuffers.clear();
|
||||
}
|
||||
mOutput.reset();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user