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