Skip to content

Commit

Permalink
[fix]Remove duplicate clean method calls
Browse files Browse the repository at this point in the history
  • Loading branch information
starrye committed Jul 3, 2024
1 parent 7c42778 commit 1325c80
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scenario_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,9 +200,9 @@ def _cleanup(self):
except RuntimeError:
sys.exit(-1)

self.manager.cleanup()
# self.manager.cleanup()

CarlaDataProvider.cleanup()
# CarlaDataProvider.cleanup()

for i, _ in enumerate(self.ego_vehicles):
if self.ego_vehicles[i]:
Expand Down Expand Up @@ -660,4 +660,4 @@ def main():


if __name__ == "__main__":
sys.exit(main())
sys.exit(main())

0 comments on commit 1325c80

Please sign in to comment.