class_docstr: SimulationSynchronization class is responsible for the synchronization of ptv-vissim and carla
  simulations.
class_docstr_tok: ["SimulationSynchronization","class","is","responsible","for","the","synchronization","of","ptv-vissim","and","carla","simulations","."]
docstr: Cleans synchronization.
docstr_tok: ["Cleans","synchronization","."]
code: def close(self):
      """
      Cleans synchronization.
      """
      # Configuring carla simulation in async mode.
      settings = self.carla.world.get_settings()
      settings.synchronous_mode = False
      settings.fixed_delta_seconds = None
      self.carla.world.apply_settings(settings)
  
      # Destroying synchronized actors.
      for carla_actor_id in self.vissim2carla_ids.values():
          self.carla.destroy_actor(carla_actor_id)
  
      # Closing PTV-Vissim connection.
      self.vissim.close()
  
file_path: carla/Co-Simulation/PTV-Vissim/run_synchronization.py
imports: import argparse
  import json
  import logging
  import time
  import glob
  import os
  import sys
  from vissim_integration.bridge_helper import BridgeHelper
  from vissim_integration.carla_simulation import CarlaSimulation
  from vissim_integration.vissim_simulation import PTVVissimSimulation
  from vissim_integration.constants import INVALID_ACTOR_ID
label_desc: Use image node_id 3 for calling the SimulationSynchronization obj's underlying member method code with example usage: obj.close() without return types