Skip to content

Commit 41d530a

Browse files
committed
* 'master' of https://github.com/DonJayamanne/pythonVSCode: Fix Issue "OSError: Too Many Open Files (#1072)" (#1118)
2 parents 3e2dfa8 + 8c13385 commit 41d530a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

pythonFiles/completion.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ def __enter__(self):
2222
def __exit__(self, exc_type, exc_value, traceback):
2323
self._new_stdout.flush()
2424
os.dup2(self.oldstdout_fno, 1)
25+
os.close(self.oldstdout_fno)
2526

2627
class JediCompletion(object):
2728
basic_types = {

0 commit comments

Comments
 (0)