From 1325c8082312474b9618cc0b4fd390f72c821b12 Mon Sep 17 00:00:00 2001 From: wanfeng <42433161+starrye@users.noreply.github.com> Date: Wed, 3 Jul 2024 17:45:38 +0800 Subject: [PATCH] [fix]Remove duplicate clean method calls --- scenario_runner.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scenario_runner.py b/scenario_runner.py index 5f0e8e79a..f3206e2b7 100755 --- a/scenario_runner.py +++ b/scenario_runner.py @@ -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]: @@ -660,4 +660,4 @@ def main(): if __name__ == "__main__": - sys.exit(main()) \ No newline at end of file + sys.exit(main())