Skip to content

Commit

Permalink
use process.kill() to kill the children processes.
Browse files Browse the repository at this point in the history
  • Loading branch information
yhwen committed Aug 13, 2024
1 parent 622f205 commit 69bfb0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nvflare/private/fed/app/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def kill_child_processes(parent_pid, sig=signal.SIGTERM):
return
children = parent.children(recursive=True)
for process in children:
process.send_signal(sig)
process.kill()


def create_admin_server(fl_server: FederatedServer, server_conf=None, args=None, secure_train=False):
Expand Down

0 comments on commit 69bfb0f

Please sign in to comment.