reinit_and_delete function

(Shortest import: from brian2.devices import reinit_and_delete)

brian2.devices.device.reinit_and_delete()[source]

Calls reinit_devices and additionally deletes the files left behind by the standalone mode in the temporary directory. Silently suppresses errors that occur while deleting the directory.