-
Notifications
You must be signed in to change notification settings - Fork 178
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
Linter creates many empty temp directories #454
Comments
As mentioned in #522, waiting until shutdown to remove them doesn't help if Atom crashes. They should probably be cleaned up as soon as they are no longer needed? |
I can confirm this. At work I have the editor open for several days and many empty AtomLinter directories pile up under /tmp after some time. |
@fabian-rump, are you still seeing this? @AsaAyers resolved this as part of batch close associated with the linter rewrite. It looks fixed to me, but can you confirm on your end? |
This was part of the batch close, but it did get addressed in #603. |
@AsaAyers, awsome! Thank you! 👍 |
The issue is gone. Thanks! |
It looks like each time the Linter runs pylint on my Mac it leaves behind a directory like this one:
AtomLinter11522-3312-u5r7xesource.python
The directory is in the normal temp dir. After working a few hours I'll have a few thousand of these empty directories left behind. It looks like these are all deleted when I shut down Atom. This seems unlikely to be a big problem, but I thought I'd point it out in case it becomes an issue with long running Atom sessions.
The linter is using the temp package with tracking turned on, maybe it could call temp.cleanup periodically?
I'm using Linter version 0.12.0 and linter-pylint version 0.2.1.
The text was updated successfully, but these errors were encountered: