From 9002f80cf5b38d173828ecc35072042e8a4a0aab Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Tue, 20 Oct 2015 22:55:16 +0200 Subject: [PATCH] Make sure the timer thread is gone when calling fork() refs #10410 --- lib/cli/daemoncommand.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cli/daemoncommand.cpp b/lib/cli/daemoncommand.cpp index 075b9147491..6c4b83376a3 100644 --- a/lib/cli/daemoncommand.cpp +++ b/lib/cli/daemoncommand.cpp @@ -53,7 +53,7 @@ static void SigHupHandler(int) static bool Daemonize(void) { #ifndef _WIN32 - Application::GetTP().Stop(); + Application::UninitializeBase(); pid_t pid = fork(); if (pid == -1) {