mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-03 16:27:46 +08:00
GUI: Fixed cannot delete rtabmap.tmp.db error when closing and if database is in memory.
This commit is contained in:
@@ -3138,7 +3138,7 @@ void MainWindow::processRtabmapEventInit(int status, const QString & info)
|
|||||||
{
|
{
|
||||||
UINFO("Deleted temporary database \"%s\".", _newDatabasePath.toStdString().c_str());
|
UINFO("Deleted temporary database \"%s\".", _newDatabasePath.toStdString().c_str());
|
||||||
}
|
}
|
||||||
else
|
else if(!uStr2Bool(_preferencesDialog->getAllParameters().at(Parameters::kDbSqlite3InMemory())))
|
||||||
{
|
{
|
||||||
UERROR("Temporary database \"%s\" could not be deleted.", _newDatabasePath.toStdString().c_str());
|
UERROR("Temporary database \"%s\" could not be deleted.", _newDatabasePath.toStdString().c_str());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user