WIP: optimizations for linux

This commit is contained in:
2026-02-03 00:16:31 +01:00
parent 4235862d86
commit c283887ada
11 changed files with 64 additions and 54 deletions

View File

@@ -1,8 +1,9 @@
use parking_lot::Mutex;
use rand::rngs::StdRng;
use rand::SeedableRng;
use std::collections::HashMap;
use std::path::PathBuf;
use std::sync::{Arc, Mutex};
use std::sync::Arc;
use crossbeam_channel::Sender;
@@ -605,8 +606,8 @@ impl App {
link.set_tempo(tempo);
self.playback.clear_queues();
self.variables.lock().unwrap().clear();
self.dict.lock().unwrap().clear();
self.variables.lock().clear();
self.dict.lock().clear();
for (bank, pattern) in playing {
self.playback.queued_changes.push(StagedChange {