Esempio n. 1
0
        /// <summary>
        /// Leaves the current joined session
        /// </summary>
        public void Leave()
        {
            if (session == null)
            {
                throw new InvalidOperationException("There is no session currently joined which can be left");
            }

            messageManager.Dispose();
            session.Dispose();
            session = null;
        }