docstr: close all envs
          
docstr_tok: ["close","all","envs"]
code: def close(self):
      """close all envs"""
      if self.closed:
          return
      if self.viewer is not None:
          self.viewer.close()
      self.closed = True
      for env in self.envs:
          env.close()
  
file_path: PARL/benchmark/torch/mappo/env_wrappers.py
imports: import numpy
  from multiagent.environment import MultiAgentEnv
  from multiagent.scenarios import load
label_desc: Use image node_id 4 for calling the VectorEnv obj's underlying member method code with example usage: obj.close() without return types