This commit is contained in:
Kovid Goyal 2015-11-02 11:56:07 +05:30
parent cfb3d3b7a1
commit a3fe8db79c

View File

@ -270,6 +270,7 @@ class Worker(object):
if join_process(self.p) is None: if join_process(self.p) is None:
self.p.kill() self.p.kill()
self.p.wait() self.p.wait()
self.log('Killed server process %d with return code: %d' % (self.p.pid, self.p.returncode))
self.p = None self.p = None
def restart(self, forced=False): def restart(self, forced=False):