mirror of
https://github.com/MoreTore/openpilot.git
synced 2026-08-05 00:05:59 +08:00
cabana: do not emit DBCFileChanged if no file changes (#27800)
This commit is contained in:
@@ -59,6 +59,8 @@ bool DBCManager::open(SourceSet s, const QString &name, const QString &content,
|
||||
}
|
||||
|
||||
void DBCManager::closeAll() {
|
||||
if (dbc_files.isEmpty()) return;
|
||||
|
||||
while (dbc_files.size()) {
|
||||
DBCFile *dbc_file = dbc_files.back().second;
|
||||
dbc_files.pop_back();
|
||||
|
||||
Reference in New Issue
Block a user