From 3e1a2c0f77baa81244a436e29db4e4780cdc2105 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sun, 1 Mar 2020 17:16:09 -0800 Subject: Use an intrusive_ptr for the device's HrtfStore --- alc/alc.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'alc/alc.cpp') diff --git a/alc/alc.cpp b/alc/alc.cpp index 42d586c7..e03dc2f6 100644 --- a/alc/alc.cpp +++ b/alc/alc.cpp @@ -2447,8 +2447,6 @@ ALCdevice::~ALCdevice() if(count > 0) WARN("%zu Filter%s not deleted\n", count, (count==1)?"":"s"); - if(mHrtf) - mHrtf->DecRef(); mHrtf = nullptr; auto *oldarray = mContexts.exchange(nullptr, std::memory_order_relaxed); -- cgit v1.2.3