Skip to content

Commit 431ea35

Browse files
authored
Merge pull request graphql-python#116 from affablebloke/fix-gevent-executor
Clear jobs list when wait_until_finished has completed.
2 parents 11e9b85 + 3821879 commit 431ea35

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

graphql/execution/executors/gevent.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ def __init__(self):
1414
def wait_until_finished(self):
1515
[j.join() for j in self.jobs]
1616
# gevent.joinall(self.jobs)
17+
self.jobs = []
1718

1819
def execute(self, fn, *args, **kwargs):
1920
promise = Promise()

0 commit comments

Comments
 (0)