Update of /cvsroot/libphidget/libphidget/src/phidget++
In directory usw-pr-cvs1:/tmp/cvs-serv9595
Modified Files:
CServo.cc
Log Message:
Fixed a bug where a system managed servo couldn't be deleted by the system.
Index: CServo.cc
===================================================================
RCS file: /cvsroot/libphidget/libphidget/src/phidget++/CServo.cc,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** CServo.cc 12 Sep 2002 00:24:29 -0000 1.4
--- CServo.cc 12 Sep 2002 03:02:07 -0000 1.5
***************
*** 46,51 ****
CServo::~CServo ()
{
! if (!_systemManaged);
! _controller->unregisterServo(UID());
}
--- 46,51 ----
CServo::~CServo ()
{
! if (!_systemManaged)
! _controller->unregisterServo(UID());
}
|