Beispiel #1
0
        protected bool HostUnInitialize()
        {
            lock (this)
            {
                if (_isConnectedToPlatform)
                {
                    _isConnectedToPlatform = false;
                }

                while (_existingSessions.Count > 0)
                {
                    DestroySession(_existingSessions[0]);
                }
                _expert.UnInitialize();
                _expert = null;
            }
            return(true);
        }