fixed issue causing gui_recv to exit early
This commit is contained in:
parent
9487a9439c
commit
1fb0a279c8
1 changed files with 1 additions and 5 deletions
|
@ -234,12 +234,8 @@ pub fn build_ui(app: &Application, config: Arc<RwLock<AppConfig>>, runtime: Hand
|
||||||
}),
|
}),
|
||||||
);
|
);
|
||||||
|
|
||||||
println!("We are here!");
|
|
||||||
|
|
||||||
glib::spawn_future_local(
|
glib::spawn_future_local(
|
||||||
glib::clone!(@weak axis_label, @weak conn_status_label, @weak control_panel, @weak drawable => async move {
|
glib::clone!(@weak axis_label, @weak conn_status_label, @weak drawable => async move {
|
||||||
println!("We are also here!");
|
|
||||||
info!("Hello world!");
|
|
||||||
while let Ok(d) = gui_recv.recv().await {
|
while let Ok(d) = gui_recv.recv().await {
|
||||||
drawable.queue_draw();
|
drawable.queue_draw();
|
||||||
match d {
|
match d {
|
||||||
|
|
Loading…
Reference in a new issue