class_docstr: Binding for `dm_control <https://arxiv.org/pdf/1801.00690.pdf>`.
docstr: Close the environment.
docstr_tok: ["Close","the","environment","."]
code: def close(self):
      """Close the environment."""
      if self._viewer:
          self._viewer.close()
      self._env.close()
      self._viewer = None
      self._env = None
  
imports: import akro
  from dm_control import suite
  from dm_control.rl.control import flatten_observation
  from dm_env import StepType
  import numpy
  from garage import Environment, EnvSpec, EnvStep, StepType
  from garage.envs.dm_control.dm_control_viewer import DmControlViewer
label_desc: Use image node_id 11 for calling the DMControlEnv obj's underlying member method code with example usage: obj.close() without return types