fixes destruction of actors in tutorial.py
This commit is contained in:
parent
0b0ca7ea4c
commit
3fcc90585e
|
@ -118,8 +118,8 @@ def main():
|
|||
finally:
|
||||
|
||||
print('destroying actors')
|
||||
for actor in actor_list:
|
||||
actor.destroy()
|
||||
camera.destroy()
|
||||
client.apply_batch([carla.command.DestroyActor(x) for x in actor_list])
|
||||
print('done.')
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue