Lines 310-316
def _purge_child(self, module_name):
|
Link Here
|
---|
|
310 |
if module_name in self.__processes: |
310 |
if module_name in self.__processes: |
311 |
CORE.process('module %s is still running - purging module out of memory' % module_name) |
311 |
CORE.process('module %s is still running - purging module out of memory' % module_name) |
312 |
pid = self.__processes[module_name].pid() |
312 |
pid = self.__processes[module_name].pid() |
313 |
os.kill(pid, 9) |
313 |
try: |
|
|
314 |
os.kill(pid, 9) |
315 |
except OSError as exc: |
316 |
CORE.warn('Failed to kill module %s: %s' % (module_name, exc)) |
314 |
return False |
317 |
return False |
315 |
|
318 |
|
316 |
def handle_request_exit(self, msg): |
319 |
def handle_request_exit(self, msg): |