cabana: fix hang on exiting with CTRL+C (#28455)

old-commit-hash: 3b9fdf206e
This commit is contained in:
Dean Lee
2023-06-09 04:30:19 +08:00
committed by GitHub
parent aed0f7d1a2
commit 97e62cf6c5
+4 -1
View File
@@ -83,5 +83,8 @@ int main(int argc, char *argv[]) {
w.loadFile(dbc_file);
}
w.show();
return app.exec();
int ret = app.exec();
delete can;
return ret;
}