def delete_device(self): PoolGroupDevice.delete_device(self) mg = self.measurement_group if mg is not None: mg.remove_listener(self.on_measurement_group_changed)
def delete_device(self): PoolGroupDevice.delete_device(self) motor_group = self.motor_group if motor_group is not None: motor_group.remove_listener(self.on_motor_group_changed)