mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 08:44:19 -04:00
still doing too much
This commit is contained in:
parent
2cce1739d8
commit
8e0ad3ea93
@ -130,12 +130,12 @@ void AudioPool::ns_release_sound(AudioSound* sound) {
|
|||||||
// Description: The nonstatic implementation of release_all_sounds().
|
// Description: The nonstatic implementation of release_all_sounds().
|
||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
void AudioPool::ns_release_all_sounds(void) {
|
void AudioPool::ns_release_all_sounds(void) {
|
||||||
for (SoundMap::iterator i=_sounds.begin(); i!=_sounds.end(); ++i) {
|
// REFCOUNT
|
||||||
// REFCOUNT
|
// for (SoundMap::iterator i=_sounds.begin(); i!=_sounds.end(); ++i) {
|
||||||
// don't do this with refcounting
|
// don't do this with refcounting
|
||||||
// AudioTraits::SoundClass* sc = (*i).second;
|
// AudioTraits::SoundClass* sc = (*i).second;
|
||||||
// (*(sc->get_destroy()))(sc);
|
// (*(sc->get_destroy()))(sc);
|
||||||
}
|
// }
|
||||||
_sounds.clear();
|
_sounds.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user