Skip to content

Commit

Permalink
fix cpplit
Browse files Browse the repository at this point in the history
  • Loading branch information
ljcui committed Oct 16, 2024
1 parent d1cb239 commit 270a7f1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/server/lgraph_server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,11 @@ void crash_handler(int sig) {
lgraph_log::LoggerManager::GetInstance().FlushAllSinks();

struct sigaction sa{};
sigemptyset (&sa.sa_mask);
sigemptyset(&sa.sa_mask);
sa.sa_flags = 0;
sa.sa_handler = SIG_DFL;
sigaction (sig, &sa, nullptr);
kill(getpid(),sig);
sigaction(sig, &sa, nullptr);
kill(getpid(), sig);
}

#ifndef _WIN32
Expand Down

0 comments on commit 270a7f1

Please sign in to comment.