Skip to content
Snippets Groups Projects
Commit f59dce3e authored by Guido Trotter's avatar Guido Trotter
Browse files

Mainloop: handle SIGINT as well (and terminate)


This is needed if daemons are in the foreground, and get ctrl+c-ed by
the user. Also add unittests to make sure the correct signals terminate
the mainloop.

Signed-off-by: default avatarGuido Trotter <ultrotter@google.com>
Reviewed-by: default avatarIustin Pop <iustin@google.com>
parent d021e478
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment