mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2025-07-08 00:05:00 +00:00
Fix node graph execution
This commit is contained in:
parent
cfc95a3e14
commit
bf0402e3e5
1 changed files with 3 additions and 7 deletions
|
@ -52,14 +52,10 @@ async fn main() {
|
|||
.apply()
|
||||
.unwrap();
|
||||
|
||||
std::thread::spawn(|| {
|
||||
let set = tokio::task::LocalSet::new();
|
||||
std::thread::spawn(|| loop {
|
||||
futures::executor::block_on(graphite_editor::node_graph_executor::run_node_graph());
|
||||
|
||||
loop {
|
||||
set.spawn_local(graphite_editor::node_graph_executor::run_node_graph());
|
||||
|
||||
std::thread::sleep(std::time::Duration::from_millis(16))
|
||||
}
|
||||
std::thread::sleep(std::time::Duration::from_millis(16))
|
||||
});
|
||||
|
||||
// *(IMAGES.lock().unwrap()) = Some(HashMap::new());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue