You've already forked AstralRinth
forked from didirus/AstralRinth
fix intellij proj
This commit is contained in:
@@ -206,6 +206,13 @@ impl FriendsSocket {
|
||||
tokio::task::spawn(async move {
|
||||
let res = async {
|
||||
let state = crate::State::get().await?;
|
||||
|
||||
{
|
||||
if state.friends_socket.write.lock().await.is_some() {
|
||||
return Ok(());
|
||||
}
|
||||
}
|
||||
|
||||
state
|
||||
.friends_socket
|
||||
.connect(
|
||||
|
||||
Reference in New Issue
Block a user