I use CVBPy in Ubuntu 16.04 with CVB 13.01.3.
My software uses several thread. When interrupt my program with ctrl-c, this one freeze while deleting device factory object.
What is best way to close device and stream ?
My code :
self.device = cvb.DeviceFactory.open(driver, port=self.port) self.stream = self.device.stream ... self.stream.start() ... self.stream.stop() del self.stream del self.device #freeze on this line