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

Fix: Prevent pins deletion from database on non explicit tab closes (window closing) #2903

Conversation

kristijanribaric
Copy link
Contributor

Previously, if you had multiple windows opened and you closed one, it could trigger TabClose event and delete the pins from zen_pins table. With this change the pins are deleted only on explicit tab closing from tab context menu.

Should fix the first point of issue #2875

…w closing)

Previously, if you had multiple windows opened and you closed one, it could trigger TabClose event and delete the pins from zen_pins table. With this change the pins are deleted only on explicit tab closing from tab context menu.
@dosubot dosubot bot added size:M This PR changes 30-99 lines, ignoring generated files. Improvement labels Nov 11, 2024
@kristijanribaric kristijanribaric changed the title Prevent pins deletion from database on non explicit tab closes (window closing) Fix: Prevent pins deletion from database on non explicit tab closes (window closing) Nov 11, 2024
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Nov 11, 2024
@mauro-balades mauro-balades merged commit b323333 into zen-browser:dev Nov 11, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Improvement lgtm This PR has been approved by a maintainer size:M This PR changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants