예제 #1
0
        /// <summary>
        /// 注销用户
        /// </summary>
        bool Over()
        {
            if (!user5566.Logout())
            {
                logger.ErrorFormat("Logout Fail, {0}", user5566.AppAccount);
                return(false);
            }
            user5566.Destroy();
            if (!user9527.Logout())
            {
                logger.ErrorFormat("Logout Fail, {0}", user9527.AppAccount);
                return(false);
            }
            user9527.Destroy();

            Thread.Sleep(1000);
            return(true);
        }