Compare commits

..

No commits in common. "1fb0a279c8dc8a91e2000c11e240874cc5914926" and "76904e33b27a2d66f28f16bb7eec61c2131f8f07" have entirely different histories.

View file

@ -233,10 +233,10 @@ pub fn build_ui(app: &Application, config: Arc<RwLock<AppConfig>>, runtime: Hand
glib::ControlFlow::Continue
}),
);
glib::spawn_future_local(
glib::clone!(@weak axis_label, @weak conn_status_label, @weak drawable => async move {
while let Ok(d) = gui_recv.recv().await {
glib::clone!(@weak axis_label, @weak conn_status_label, @weak control_panel, @strong gui_recv, @weak drawable => async move {
while let Ok(d) = gui_recv.recv().await {
drawable.queue_draw();
match d {
GuiUpdate::MoveEvent(msg) => {
@ -274,7 +274,6 @@ pub fn build_ui(app: &Application, config: Arc<RwLock<AppConfig>>, runtime: Hand
}
}
}
info!("Closing update loop");
}),
);