Пример #1
0
        internal void Terminate()
        {
            try
            {
                if (_vm != null)
                {
                    _vm.ForceDisconnect();
                    _vm = null;
                }


                session.Disconnect();
            }
            catch
            {
            }
        }
Пример #2
0
        internal void Terminate()
        {
            DebugHelper.TraceEnteringMethod();
            try
            {
                if (_vm != null)
                {
                    _vm.Exit(0);
                    _vm.ForceDisconnect();
                    _vm = null;
                }


                _session.Disconnect();
            }
            catch
            {
            }
        }