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

close previous db-load job, an other one #1563

Merged
merged 1 commit into from
Feb 21, 2024

Conversation

janbar
Copy link
Contributor

@janbar janbar commented Feb 18, 2024

See commit 5b62a91.

And not rely on job destructor, it seems that Qt may postpone object deletion after deleteLater() invocation for very long time. In such situation data are still loading and job is holding database read-lock.

@Karry, an other one is fixed here. I catched it on mobile device (Android). I guess the issue appear too on device slower than desktop used to develop or test.

@Karry
Copy link
Collaborator

Karry commented Feb 18, 2024

Please close loadJob in even on TiledMapRenderer.cpp:491

See commit 5b62a91.

And not rely on job destructor, it seems that Qt may postpone
object deletion after deleteLater() invocation for very long time.
In such situation data are still loading and job is holding
database read-lock.
@janbar
Copy link
Contributor Author

janbar commented Feb 18, 2024

Please close loadJob in even on TiledMapRenderer.cpp:491

Finally we managed to fix all the annoying reentrant locks. +1

@Framstag Framstag merged commit ed36e63 into Framstag:master Feb 21, 2024
17 of 18 checks passed
@janbar janbar deleted the close-previous-db-load-2 branch February 26, 2024 13:21
Copy link

github-actions bot commented Jun 2, 2024

🎉 This issue has been resolved in v2024.06.02.1 (Release Notes)

@github-actions github-actions bot added the released Issue has been released label Jun 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
released Issue has been released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants