This commit is contained in:
Kovid Goyal 2010-12-07 10:06:30 -07:00
parent 09fe71a29e
commit 03c6b10d95

View File

@ -292,12 +292,12 @@ class Server(Thread):
except:
pass
time.sleep(0.2)
for worker in self.workers:
for worker in list(self.workers):
try:
worker.kill()
except:
pass
for worker in self.pool:
for worker in list(self.pool):
try:
worker.kill()
except: