예제 #1
0
        protected override void OnStop()
        {
            if (_viewerHandler != null)
            {
                _viewerHandler.Dispose();
                _viewerHandler = null;
            }

            //TODO (CR May 2010): WebDesktopWindow shouldn't hang around, but we can check.
            if (_viewer != null)
            {
                _viewer.Stop();
                _viewer.Dispose();
                _viewer = null;
            }
        }
예제 #2
0
 public void Dispose()
 {
     StopRoomCycle();
     _entityHandler.Dispose();
 }