Skip to content

Commit

Permalink
quit callback for extension modules (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
koide3 authored Oct 29, 2024
1 parent 28ba890 commit a549f7b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/glim_ros/glim_ros.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,9 @@ void GlimROS::wait(bool auto_quit) {

void GlimROS::save(const std::string& path) {
global_mapping->save(path);
for (auto& module : extension_modules) {
module->at_exit(path);
}
}

} // namespace glim
Expand Down

0 comments on commit a549f7b

Please sign in to comment.