mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-06-25 16:02:14 +08:00
speed up fuzzing by sending SIGKILL when done
This commit is contained in:
@@ -4,6 +4,7 @@ import os
|
||||
import sys
|
||||
import threading
|
||||
import time
|
||||
import signal
|
||||
from collections import namedtuple
|
||||
|
||||
import capnp
|
||||
@@ -465,5 +466,6 @@ def cpp_replay_process(cfg, lr, fingerprint=None):
|
||||
while not pm.all_readers_updated(msg.which()):
|
||||
time.sleep(0)
|
||||
|
||||
managed_processes[cfg.proc_name].signal(signal.SIGKILL)
|
||||
managed_processes[cfg.proc_name].stop()
|
||||
return log_msgs
|
||||
|
||||
Reference in New Issue
Block a user