Пример #1
0
        void CharacterFilter_Logoff(object sender, Decal.Adapter.Wrappers.LogoffEventArgs e)
        {
            try
            {
                hudUpdateTimer.Stop();

                if (hudView != null)
                {
                    hudView.Dispose();
                    hudView = null;
                }

                if (hudListHead != null)
                {
                    hudListHead.Dispose();
                    hudListHead = null;
                }
            }
            catch (Exception ex) { Debug.LogException(ex); }
        }