Skip to content

Fix Issue "OSError: Too Many Open Files (#1072)"#1118

Merged
DonJayamanne merged 1 commit into
DonJayamanne:masterfrom
dipietrantonio:master
Jul 25, 2017
Merged

Fix Issue "OSError: Too Many Open Files (#1072)"#1118
DonJayamanne merged 1 commit into
DonJayamanne:masterfrom
dipietrantonio:master

Conversation

@dipietrantonio

Copy link
Copy Markdown
Contributor

Close the file descriptor "self.oldstdout_fno" after line 24 in completion.py, since it is no more used. Leaving it opened will cause the Too Many Open Files error when the enter function is called many times.

Close the file descriptor "self.oldstdout_fno" after line 24, since it is no more used. Leaving it opened will cause the Too Many Open Files error when the _enter_ function is called many times.
@DonJayamanne

Copy link
Copy Markdown
Owner

Thanks, silly mistake.

@DonJayamanne DonJayamanne merged commit 8c13385 into DonJayamanne:master Jul 25, 2017
DonJayamanne added a commit that referenced this pull request Jul 29, 2017
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.

2 participants