Skip to content

Commit

Permalink
Monitor should close what it inherits (#1076)
Browse files Browse the repository at this point in the history
  • Loading branch information
harry-uglow authored Jan 31, 2020
1 parent 9ee399f commit ea25b9e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions baselines/bench/monitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ def update(self, ob, rew, done, info):
self.total_steps += 1

def close(self):
super(Monitor, self).close()
if self.f is not None:
self.f.close()

Expand Down

1 comment on commit ea25b9e

@VishalGB01
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there is a small bug
chatgpt signup/login page eye icon is working opposite

Please sign in to comment.