[Fix] Calls, Spelling
This commit is contained in:
parent
0a30dc29bb
commit
fc85e9377e
10 changed files with 246 additions and 177 deletions
|
|
@ -64,6 +64,7 @@ impl AppConnection {
|
|||
}
|
||||
|
||||
/// Get current ping
|
||||
#[allow(unused)]
|
||||
pub async fn get_ping(&self) -> i64 {
|
||||
*self.ping.read().await
|
||||
}
|
||||
|
|
@ -304,6 +305,7 @@ impl AppConnection {
|
|||
}
|
||||
|
||||
/// Close the connection
|
||||
#[allow(unused)]
|
||||
pub async fn close(&self) {
|
||||
let mut is_open_guard = self.is_open.write().await;
|
||||
if !*is_open_guard {
|
||||
|
|
|
|||
Loading…
Reference in a new issue