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

TSLint nx-enforce-module-boundaries rule leaks file handles via mtime function #403

Closed
undeadcat opened this issue Apr 6, 2018 · 1 comment · Fixed by #404
Closed

TSLint nx-enforce-module-boundaries rule leaks file handles via mtime function #403

undeadcat opened this issue Apr 6, 2018 · 1 comment · Fixed by #404
Labels

Comments

@undeadcat
Copy link
Contributor

Here a file descriptor is opened, but not closed.

Originally reported in the WebStorm issue tracker as WEB-32078 when using TSLint with WebStorm.

This is a problem on Windows where it blocks users from saving files.
A project to reproduce the issue in the IDE is attached here.

If you wanted a standalone repro, you could write a simple console app that invokes lastModifiedAmongProjectFiles, break in the debugger after the function completes, and inspect the process handles using procexp or handle.exe.

@github-actions
Copy link

This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 25, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant