From 8e0ad3ea93cb942d392b3f22f0a8d8c51cb66292 Mon Sep 17 00:00:00 2001 From: Cary Sandvig Date: Fri, 1 Dec 2000 01:04:09 +0000 Subject: [PATCH] still doing too much --- panda/src/audio/audio_pool.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/panda/src/audio/audio_pool.cxx b/panda/src/audio/audio_pool.cxx index eb3336fa64..9ee181748d 100644 --- a/panda/src/audio/audio_pool.cxx +++ b/panda/src/audio/audio_pool.cxx @@ -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(); }