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; } }
public void Dispose() { StopRoomCycle(); _entityHandler.Dispose(); }