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

snapshots: Remove snapshots for removed images. #15567

Merged
merged 1 commit into from
Nov 5, 2023

Conversation

TurboGit
Copy link
Member

@TurboGit TurboGit commented Nov 4, 2023

Avoid a crash, if an image is removed from the DB it is not anymore reacheable and cannot be used a snapshot. To do that we introduce a new signal DT_SIGNAL_IMAGE_REMOVED. In snapshots we connect to it and then we remove all snapshots created for the corresponding image.

Fixes #15565.

@TurboGit TurboGit added this to the 4.6 milestone Nov 4, 2023
@TurboGit TurboGit added bugfix pull request fixing a bug priority: high core features are broken and not usable at all, software crashes release notes: pending labels Nov 4, 2023
@TurboGit TurboGit self-assigned this Nov 4, 2023
Avoid a crash, if an image is removed from the DB it is not anymore
reacheable and cannot be used a snapshot. To do that we introduce
a new signal DT_SIGNAL_IMAGE_REMOVED. In snapshots we connect to
it and then we remove all snapshots created for the corresponding
image.

Fixes darktable-org#15565.
@TurboGit TurboGit merged commit 335422d into darktable-org:master Nov 5, 2023
4 checks passed
@TurboGit TurboGit deleted the po/snapshot-delete-img branch November 5, 2023 14:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix pull request fixing a bug priority: high core features are broken and not usable at all, software crashes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

segfault when comparing with snapshot of deleted image
1 participant