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

App extension: Close all open docs #24

Open
ChrisClems opened this issue Oct 9, 2024 · 0 comments
Open

App extension: Close all open docs #24

ChrisClems opened this issue Oct 9, 2024 · 0 comments

Comments

@ChrisClems
Copy link
Owner

Add an application extension method that will check for open documents and close all.

This is useful for background applications that must iterate over large numbers of parts while handling exceptions gracefully across many code paths. Leaking unclosed documents will very quickly degrade performance. When execution must continue in the face of any handleable exceptions, purging all open documents will ensure you don't come back to your script moving at a crawl due to dozens of open documents.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant