[ros-diffs] [weiden] 14706: convert the device object to a temporary device before deleting it