Skip to content

Commit

Permalink
Added stop method to the destructor
Browse files Browse the repository at this point in the history
  • Loading branch information
rob-mau committed Mar 3, 2024
1 parent f013242 commit 4684566
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion devices/YarpRobotLoggerDevice/src/YarpRobotLoggerDevice.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,10 @@ YarpRobotLoggerDevice::YarpRobotLoggerDevice()
std::make_shared<BipedalLocomotion::TextLogging::YarpLoggerFactory>());
}

YarpRobotLoggerDevice::~YarpRobotLoggerDevice() = default;
YarpRobotLoggerDevice::~YarpRobotLoggerDevice()
{
this->stop();
}

bool YarpRobotLoggerDevice::open(yarp::os::Searchable& config)
{
Expand Down

0 comments on commit 4684566

Please sign in to comment.