mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 09:30:25 +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());
|
||||
}
|
||||
else
|
||||
else if(!uStr2Bool(_preferencesDialog->getAllParameters().at(Parameters::kDbSqlite3InMemory())))
|
||||
{
|
||||
UERROR("Temporary database \"%s\" could not be deleted.", _newDatabasePath.toStdString().c_str());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user