This commit is contained in:
@@ -686,6 +686,7 @@ impl SequencerState {
|
||||
self.variables.store(Arc::new(HashMap::new()));
|
||||
self.dict.lock().clear();
|
||||
self.speed_overrides.clear();
|
||||
self.script_engine.clear_global_params();
|
||||
}
|
||||
SeqCommand::Shutdown => {}
|
||||
}
|
||||
|
||||
@@ -24,6 +24,10 @@ impl ScriptEngine {
|
||||
self.forth.evaluate_with_trace(script, ctx, trace)
|
||||
}
|
||||
|
||||
pub fn clear_global_params(&self) {
|
||||
self.forth.clear_global_params();
|
||||
}
|
||||
|
||||
pub fn stack(&self) -> Vec<Value> {
|
||||
self.forth.stack()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user