def stop()

in tools/cansim/canigen.py [0:0]


    def stop(self):
        self._stop = True
        for thread in self._threads:
            thread.join()
        if self._output_file:
            self._output_file.close()