Skip to content

Commit

Permalink
release handle doesn't get called because the state is already change…
Browse files Browse the repository at this point in the history
…d to uninitialized
  • Loading branch information
hsd-dev committed Oct 27, 2023
1 parent f27aa83 commit 3dc724f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/pf_driver/src/pf/pf_interface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,9 @@ void PFInterface::terminate()
return;
watchdog_timer_.stop();
pipeline_->terminate();

stop_transmission();

pipeline_.reset();
protocol_interface_.reset();
transport_.reset();
Expand Down
1 change: 0 additions & 1 deletion src/pf_driver/src/ros/ros_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,5 @@ int main(int argc, char* argv[])
pf_interface.terminate();
}

pf_interface.stop_transmission();
return 0;
}

0 comments on commit 3dc724f

Please sign in to comment.