/// Remove session context with a given session ID.
Remove session context with a given session ID.
Remove session context with a given session ID .
fn remove_session_context(
        &mut self, 
        session_id: u32,
        event_loop: &mut EventLoop<Self>) {
        if let Some(ctx) = self.sessions.remove(&session_id) {
            ctx.dispose(event_loop);
        }
    }
fn remove_session_context ( & mut self , session_id : u32 , event_loop : & mut EventLoop < Self > ) { if let Some ( ctx ) = self . sessions . remove ( & session_id ) { ctx . dispose ( event_loop ) ; } }
Remove session context with a given session ID.
Remove session context with a given session ID .
&mut self
session_id
u32
event_loop
&mut EventLoop<Self>