-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Data Source Manager doesn't release CSV file after closing dialog #60663
fix: Data Source Manager doesn't release CSV file after closing dialog #60663
Conversation
🪟 Windows buildsDownload Windows builds of this PR for testing. 🪟 Windows Qt6 buildsDownload Windows Qt6 builds of this PR for testing. |
@@ -537,7 +537,7 @@ void QgsDelimitedTextSourceSelect::updateFieldLists() | |||
// Run the scan in a separate thread | |||
cancelScanTask(); | |||
|
|||
mScanTask = new QgsDelimitedTextFileScanTask( url( /* skip overridden types */ true ) ); | |||
mScanTask = new QgsDelimitedTextFileScanTask( url( mFile.get(), /* skip overridden types */ true ) ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there is an issue with clang-tidy, not sure why. Could you call clear() on mScanTask later in the code instead of affecting nullptr and see if it fixes the cland-tidy issue ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
call clear() do not fix it!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://github.com/qgis/QGIS/actions/runs/13426309074/job/37512897078#step:9:1 it looks pass, but why has errors?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ptitjano fixed a few things related to clang-tidy. Could you rebase your branch on current master
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All looks good, let's forget about clang-tidy here, this is not related to your modifications. We'll check this in another PR
forget what I just say, there is a clang-tidy issue. Not sure why |
OK, here is the culprit llvm/llvm-project#58820 So, It has been fixed upstream. LGTM |
fix: #60649