Skip to content

Exit the completion process on EOF#417

Merged
sadovnychyi merged 1 commit into
autocomplete-python:masterfrom
Axel-Roijers:cpu-usage-patch
Jun 18, 2019
Merged

Exit the completion process on EOF#417
sadovnychyi merged 1 commit into
autocomplete-python:masterfrom
Axel-Roijers:cpu-usage-patch

Conversation

@Axel-Roijers

Copy link
Copy Markdown
Contributor

Coming from brennv@44e24b1

"
Exit the completion process on EOF

The real problem is that BufferedProcess.kill is asynchronous on
Windows and Atom exits before it gets a chance to complete. So the
process is left alive, and it ignores EOF and just keeps trying to read
in an infinite loop.
"
Fixes #310
And probably #301

Coming from brennv@44e24b1

"
Exit the completion process on EOF

The real problem is that `BufferedProcess.kill` is *asynchronous* on
Windows and Atom exits before it gets a chance to complete. So the
process is left alive, and it ignores EOF and just keeps trying to read
in an infinite loop.
"
Fixes #310
And probably #301
@sadovnychyi

Copy link
Copy Markdown
Member

Thanks. I'm currently traveling so please give me some extra time to push a new release with this.

@sadovnychyi sadovnychyi merged commit 2e7513f into autocomplete-python:master Jun 18, 2019
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

Successfully merging this pull request may close these issues.

CPU intensive python process sometimes launched when atom is closed if this package is installed

2 participants