Skip to content

Commit

Permalink
do not logout scanner on phoxi disconnect [BIPI-1885]
Browse files Browse the repository at this point in the history
  • Loading branch information
Vlado Meciak committed Aug 25, 2020
1 parent 85b62e1 commit 5f32071
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PhoXiInterface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ namespace phoxi_camera {

void PhoXiInterface::disconnectCamera() {
if (scanner && scanner->isConnected()) {
scanner->Disconnect(true);
scanner->Disconnect(false);
}
scanner.Reset(); // Scanner instance is not usable after disconnect, call destructor
last_frame_id = -1;
Expand Down

0 comments on commit 5f32071

Please sign in to comment.