aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/alc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/alc.cpp')
-rw-r--r--Alc/alc.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/Alc/alc.cpp b/Alc/alc.cpp
index 9919d011..5fae13b3 100644
--- a/Alc/alc.cpp
+++ b/Alc/alc.cpp
@@ -2619,7 +2619,11 @@ ALCcontext_struct::~ALCcontext_struct()
}
TRACE("Freed " SZFMT " AuxiliaryEffectSlot property object%s\n", count, (count==1)?"":"s");
- ReleaseALAuxiliaryEffectSlots(this);
+ count = 0;
+ for(auto &slot : EffectSlotList)
+ count += slot ? 1 : 0;
+ if(count > 0)
+ WARN(SZFMT " AuxiliaryEffectSlot%s not deleted\n", count, (count==1)?"":"s");
EffectSlotList.clear();
almtx_destroy(&EffectSlotLock);