Skip to content
Snippets Groups Projects
Commit cc006c8b authored by bpwilcox's avatar bpwilcox Committed by Carl Delsey
Browse files

check if future is valid in deactivate (#1430)

parent aa764eb9
No related branches found
No related tags found
No related merge requests found
......@@ -190,6 +190,10 @@ public:
stop_execution_ = true;
}
if (!execution_future_.valid()) {
return;
}
if (is_running()) {
warn_msg("Requested to deactivate server but goal is still executing."
" Should check if action server is running before deactivating.");
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment