Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
labrobotica
ros
iri_core
iri_ros_tools
Commits
07afbe0a
Commit
07afbe0a
authored
Jun 09, 2020
by
Sergi Hernandez
Browse files
Removed the while loop in the destructor to wait for the action to finish.
parent
fe67a0e8
Changes
1
Hide whitespace changes
Inline
Side-by-side
include/iri_ros_tools/module_action.h
View file @
07afbe0a
...
...
@@ -819,10 +819,7 @@ CModuleAction<action_ros>::~CModuleAction()
if
(
this
->
enabled
)
{
if
(
this
->
status
==
ACTION_RUNNING
)
{
this
->
action_client
->
cancelGoal
();
while
(
!
this
->
is_finished
());
}
}
delete
this
->
action_client
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment