mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-29 08:15:18 -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().
|
||||
////////////////////////////////////////////////////////////////////
|
||||
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
|
||||
// AudioTraits::SoundClass* sc = (*i).second;
|
||||
// (*(sc->get_destroy()))(sc);
|
||||
}
|
||||
// }
|
||||
_sounds.clear();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user