Update arbiter.py

This commit is contained in:
Benjamin Sergeant 2017-01-11 11:30:13 -08:00 committed by GitHub
parent 3f9eace246
commit 6c3d283363

View File

@ -565,6 +565,10 @@ class Arbiter(object):
self.WORKERS[pid] = worker
return pid
# Do not inherit the temporary files of other workers
for sibling in self.WORKERS.values():
sibling.tmp.close()
# Process Child
worker_pid = os.getpid()
try: