mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-30 21:45:37 +00:00
Use os._exit() when exiting from a forked() child process, not sys.exit()
This commit is contained in:
@@ -202,7 +202,7 @@ class SendNonblock(unittest.TestCase):
|
||||
try:
|
||||
def killall(signum, frame):
|
||||
os.kill(queue_pid, signal.SIGTERM)
|
||||
sys.exit(1)
|
||||
os._exit(1)
|
||||
signal.signal(signal.SIGALRM, killall)
|
||||
msg = msgq.preparemsg({"type" : "ping"}, data)
|
||||
now = time.clock()
|
||||
|
Reference in New Issue
Block a user