Format & Data
This commit is contained in:
parent
57658197f9
commit
e0dfee6cc2
3 changed files with 355 additions and 408 deletions
|
|
@ -286,7 +286,7 @@ impl OmegaConnection {
|
|||
let mut guard = self.read.write().await;
|
||||
let ws = match guard.as_mut() {
|
||||
Some(ws) => ws,
|
||||
None => break,
|
||||
_ => break,
|
||||
};
|
||||
ws.next().await
|
||||
};
|
||||
|
|
@ -315,6 +315,7 @@ impl OmegaConnection {
|
|||
}
|
||||
}
|
||||
}
|
||||
#[allow(non_snake_case)]
|
||||
Some(Ok(Message::Close(_))) | None => break,
|
||||
Some(Err(_)) => break,
|
||||
_ => {}
|
||||
|
|
|
|||
Loading…
Reference in a new issue