WIP: fix VST3 version

This commit is contained in:
2026-02-20 22:26:35 +01:00
parent 00d6eb2f1f
commit 07e95d5b6f
6 changed files with 42 additions and 12 deletions

View File

@@ -69,7 +69,7 @@ impl Forth {
if writes.is_empty() {
return;
}
let mut new_vars = (**self.vars.load()).clone();
let mut new_vars = (*self.vars.load_full()).clone();
for (k, v) in writes {
new_vars.insert(k, v);
}
@@ -99,7 +99,7 @@ impl Forth {
let mut stack = self.stack.lock();
let mut outputs: Vec<String> = Vec::with_capacity(8);
let mut cmd = CmdRegister::new();
let vars_snapshot = self.vars.load();
let vars_snapshot = self.vars.load_full();
let mut var_writes: HashMap<String, Value> = HashMap::new();
self.execute_ops(