diff options
Diffstat (limited to 'src/monitor')
-rw-r--r-- | src/monitor/monitor.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/monitor/monitor.c b/src/monitor/monitor.c index fef1a120f..8845e4a37 100644 --- a/src/monitor/monitor.c +++ b/src/monitor/monitor.c @@ -646,6 +646,9 @@ static void mt_svc_sigkill(struct tevent_context *ev, "[%s][%d] is not responding to SIGTERM. Sending SIGKILL.\n", svc->name, svc->pid); + /* timer was succesfully executed and it will be released by tevent */ + svc->kill_timer = NULL; + ret = kill(svc->pid, SIGKILL); if (ret != EOK) { ret = errno; |