From 16e7b7e58837697f40d63ab1c64f96fa59319930 Mon Sep 17 00:00:00 2001 From: griffi-gh Date: Tue, 7 Mar 2023 01:59:54 +0100 Subject: [PATCH] Make the outer system seq --- kubi/src/networking.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kubi/src/networking.rs b/kubi/src/networking.rs index 7a763a4..7d72c8b 100644 --- a/kubi/src/networking.rs +++ b/kubi/src/networking.rs @@ -111,7 +111,7 @@ pub fn update_networking() -> Workload { ( check_server_hello_response, ).into_workload().run_if(is_join_state::<{ClientJoinState::Connected as u8}>) - ).into_workload() + ).into_sequential_workload() //Fixes } pub fn disconnect_on_exit( @@ -133,7 +133,7 @@ pub fn disconnect_on_exit( fn if_just_connected( network_events: View, ) -> bool { - network_events.iter().any(|event| matches!(event.0, ClientEvent::Connected(_))) + network_events.iter().any(|event| matches!(&event.0, ClientEvent::Connected(_))) } fn is_join_state(