Skip to content

Commit

Permalink
Add close method to AtariPreprocessing.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 235068759
  • Loading branch information
Dopamine Team authored and psc-g committed Apr 11, 2019
1 parent 711e188 commit 00a5b32
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions dopamine/discrete_domains/atari_lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,9 @@ def reward_range(self):
def metadata(self):
return self.environment.metadata

def close(self):
return self.environment.close()

def reset(self):
"""Resets the environment.
Expand Down

0 comments on commit 00a5b32

Please sign in to comment.