still doing too much

This commit is contained in:
Cary Sandvig 2000-12-01 01:04:09 +00:00
parent 2cce1739d8
commit 8e0ad3ea93

View File

@ -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();
} }