Skip to content
Snippets Groups Projects
Commit 35973634 authored by Joan Perez Ibarz's avatar Joan Perez Ibarz
Browse files

1-fixing bug in iri_base_driver_node. I accidentally deleted the try_enter in the destructor :(

2-adding CMutexException control in segway_rmp200
parent d7bb9c73
No related branches found
No related tags found
No related merge requests found
......@@ -335,7 +335,9 @@ IriBaseNodeDriver<Driver>::~IriBaseNodeDriver()
{
try
{
//unlock access to driver
//try access to driver to assert it is
//unlock before its destruction
this->driver_.try_enter();
this->driver_.unlock();
}
catch(CException e)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment