From 8b8caf49376e92bd4ce873a4f6c460f8203121c7 Mon Sep 17 00:00:00 2001 From: Jean Pierre Cimalando Date: Mon, 1 Feb 2021 21:08:57 +0100 Subject: [PATCH] Remove callback guard where useless --- src/sfizz/Synth.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/sfizz/Synth.cpp b/src/sfizz/Synth.cpp index 0316b397..71bdd49d 100644 --- a/src/sfizz/Synth.cpp +++ b/src/sfizz/Synth.cpp @@ -54,7 +54,6 @@ Synth::Impl::Impl() initializeSIMDDispatchers(); initializeInterpolators(); - const std::lock_guard disableCallback { callbackGuard_ }; parser_.setListener(this); effectFactory_.registerStandardEffectTypes(); effectBuses_.reserve(5); // sufficient room for main and fx1-4 @@ -69,8 +68,6 @@ Synth::Impl::Impl() Synth::Impl::~Impl() { - const std::lock_guard disableCallback { callbackGuard_ }; - voiceManager_.reset(); resources_.filePool.emptyFileLoadingQueues(); }