Skip to content

Commit

Permalink
Fix C++ recording tool clean up (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
kaatrasa authored Sep 17, 2024
1 parent 93376c3 commit 312bea6
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cpp/k4a/record.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -249,5 +249,8 @@ int main(int argc, char *argv[]) {
inputThread.join();
}

// Close VIO
session = nullptr;

return EXIT_SUCCESS;
}
3 changes: 3 additions & 0 deletions cpp/orbbec/record.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -248,5 +248,8 @@ int main(int argc, char *argv[]) {
inputThread.join();
}

// Close VIO
session = nullptr;

return EXIT_SUCCESS;
}
3 changes: 3 additions & 0 deletions cpp/realsense/record.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -202,5 +202,8 @@ int main(int argc, char** argv) {
inputThread.join();
}

// Close VIO
session = nullptr;

return 0;
}

0 comments on commit 312bea6

Please sign in to comment.