[Fix] Connectivity
This commit is contained in:
parent
233b944007
commit
82a5d9469b
11 changed files with 131 additions and 148 deletions
|
|
@ -302,6 +302,13 @@ impl IotaConnection {
|
|||
return;
|
||||
}
|
||||
|
||||
log_cv_in!(PrintType::Iota, cv);
|
||||
|
||||
if cv.is_type(CommunicationType::SyncedSettingChanged) {
|
||||
self.forward_to_client(cv).await;
|
||||
return;
|
||||
}
|
||||
|
||||
let msg_id = message_id;
|
||||
if let Some((_, task)) = self.waiting_tasks.remove(&msg_id) {
|
||||
if (task)(self.clone(), cv.clone()) {
|
||||
|
|
@ -309,8 +316,6 @@ impl IotaConnection {
|
|||
}
|
||||
}
|
||||
|
||||
log_cv_in!(PrintType::Iota, cv);
|
||||
|
||||
let cv = if cv.is_type(CommunicationType::ClientStateSync) {
|
||||
self.add_call_state(cv).await
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue