mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-08 04:20:13 +02:00
Clean up the main VST3 mutual recursion function
This commit is contained in:
@@ -339,8 +339,8 @@ class Vst3Bridge : public HostBridge {
|
||||
// `mutual_recursion_contexts` will be blocked until the deeper calls
|
||||
// are finished.
|
||||
{
|
||||
std::lock_guard lock(mutual_recursion_contexts_mutex);
|
||||
if (!mutual_recursion_contexts.empty()) {
|
||||
if (std::lock_guard lock(mutual_recursion_contexts_mutex);
|
||||
!mutual_recursion_contexts.empty()) {
|
||||
boost::asio::dispatch(*mutual_recursion_contexts.back(),
|
||||
std::move(do_call));
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user