Skip to content

Commit 349c1f5

Browse files
do not force termination in signal handler
1 parent 686e31b commit 349c1f5

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/main.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ static int socket = -1;
3030
static void sig_term_handler(int) {
3131
if (socket != -1) close(socket);
3232
terminate = true;
33-
alarm(1); // force termination after 1s
3433
}
3534

3635
/*! \brief main function

0 commit comments

Comments
 (0)