Entropy/SocketHostInterface:
- handle(): kill the zombie process after timeout git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2620 cd1c1023-2f26-0410-ae45-c471fc1f0318
This commit is contained in:
@@ -13655,6 +13655,9 @@ class SocketHostInterface:
|
||||
if e.errno != 10: raise
|
||||
dead = True
|
||||
if dead or (seconds > my_timeout):
|
||||
if not dead:
|
||||
import signal
|
||||
os.kill(pid,signal.SIGKILL)
|
||||
break
|
||||
else:
|
||||
self.do_handle()
|
||||
|
||||
Reference in New Issue
Block a user