mirror of
https://github.com/shiroyashik/sculptor.git
synced 2025-12-06 13:01:12 +03:00
func user_info fixed + "temporary" removed
This commit is contained in:
parent
f402d3d441
commit
3ff68fc4a6
3 changed files with 9 additions and 10 deletions
|
|
@ -1,4 +1,4 @@
|
|||
use std::{sync::Arc, thread};
|
||||
use std::sync::Arc;
|
||||
|
||||
use axum::{
|
||||
extract::{
|
||||
|
|
@ -173,9 +173,9 @@ async fn handle_socket(mut socket: WebSocket, state: AppState) {
|
|||
}
|
||||
// Closing connection
|
||||
if let Some(u) = owner {
|
||||
// state.session.remove(&u.uuid); // FIXME: Temporary solution
|
||||
state.session.remove(&u.uuid); // FIXME: Temporary solution
|
||||
// state.broadcasts.remove(&u.uuid); // NOTE: Create broadcasts manager ??
|
||||
// state.user_manager.remove(&u.uuid);
|
||||
state.user_manager.remove(&u.uuid);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue