mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 01:20:25 +08:00
Tango #57: Increased version to 0.11.3, updated Post-Processing actions, added mesh rendering actions, fixed point cloud rendering
This commit is contained in:
@@ -61,14 +61,24 @@ void DBDriver::parseParameters(const ParametersMap & parameters)
|
||||
{
|
||||
}
|
||||
|
||||
void DBDriver::closeConnection()
|
||||
void DBDriver::closeConnection(bool save)
|
||||
{
|
||||
UDEBUG("isRunning=%d", this->isRunning());
|
||||
this->join(true);
|
||||
UDEBUG("");
|
||||
this->emptyTrashes();
|
||||
if(save)
|
||||
{
|
||||
this->emptyTrashes();
|
||||
}
|
||||
else
|
||||
{
|
||||
_trashesMutex.lock();
|
||||
_trashSignatures.clear();
|
||||
_trashVisualWords.clear();
|
||||
_trashesMutex.unlock();
|
||||
}
|
||||
_dbSafeAccessMutex.lock();
|
||||
this->disconnectDatabaseQuery();
|
||||
this->disconnectDatabaseQuery(save);
|
||||
_dbSafeAccessMutex.unlock();
|
||||
UDEBUG("");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user