Cleanup and delete actors, ScenarioManager and CARLA world
(self)
| 112 | self._start_wall_time = datetime.now() |
| 113 | |
| 114 | def destroy(self): |
| 115 | """ |
| 116 | Cleanup and delete actors, ScenarioManager and CARLA world |
| 117 | """ |
| 118 | |
| 119 | self._cleanup() |
| 120 | if self.manager is not None: |
| 121 | del self.manager |
| 122 | if self.world is not None: |
| 123 | del self.world |
| 124 | if self.client is not None: |
| 125 | del self.client |
| 126 | |
| 127 | def _signal_handler(self, signum, frame): |
| 128 | """ |