Skip to content

Commit

Permalink
Make sure the timer thread is gone when calling fork()
Browse files Browse the repository at this point in the history
refs #10410
  • Loading branch information
gunnarbeutner committed Oct 20, 2015
1 parent 4382106 commit 9002f80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cli/daemoncommand.cpp
Expand Up @@ -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) {
Expand Down

0 comments on commit 9002f80

Please sign in to comment.