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

Cleanup when Obsidian is closed by the user #72

Merged
merged 1 commit into from
Aug 3, 2024
Merged

Conversation

MaelImhof
Copy link
Owner

Change Log

  • Registered an event that unloads the plugin when Obsidian is closed

The registered event might not always work (see this Obsidian forum post, some OS might kill the Obsidian process when the users wants to close it, or the user themselves might want to kill Obsidian, anyway this is some best-effort cleanup.

@MaelImhof MaelImhof added the bug Something isn't working label Aug 3, 2024
@MaelImhof MaelImhof added this to the Release v0.5.0-beta milestone Aug 3, 2024
@MaelImhof MaelImhof self-assigned this Aug 3, 2024
@MaelImhof MaelImhof linked an issue Aug 3, 2024 that may be closed by this pull request
@MaelImhof MaelImhof merged commit f98fa63 into dev Aug 3, 2024
2 checks passed
@MaelImhof MaelImhof deleted the dev-closing branch August 3, 2024 22:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Checkpoints folder is not deleted when Obsidian is closed
1 participant