Skip to content
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

[TaskManager] Release "not started" semaphore on waitForFinished #58799

Merged

Conversation

troopa81
Copy link
Contributor

If not, several call to waitForFinished would be blocking

I stumbled on this while working on #58798. It is not possible to call 2 times the same export when you set a legend filter because the 2 paint() method call would wait for the same HitMapTestTask to finished, and so you end up in a deadlock.

Even though I'm quite confident on the fix, I'd rather not backporting it regarding the criticity of task manager

If not, several call to waitForFinished would be blocking
@troopa81 troopa81 added the Bug Either a bug report, or a bug fix. Let's hope for the latter! label Sep 19, 2024
@github-actions github-actions bot added this to the 3.40.0 milestone Sep 19, 2024
Copy link

🪟 Windows builds ready!

Windows builds of this PR are available for testing here. Debug symbols for this build are available here.

(Built from commit a2626a2)

@nyalldawson nyalldawson merged commit 08da370 into qgis:master Sep 20, 2024
35 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants