public static ReleaseSession ( |
||
session | ||
return | void |
public static void ReleaseSession(MyAVSession session)
{
lock (MyAVSession.sessions)
{
if (session != null && MyAVSession.sessions.ContainsKey(session.Id))
{
long id = session.Id;
// session.Dispose();
MyAVSession.sessions.Remove(id);
}
}
}