Skip to content

Commit

Permalink
temp disable signal handle
Browse files Browse the repository at this point in the history
  • Loading branch information
PredatorCZ committed Sep 24, 2024
1 parent 8d9d2c2 commit 50cff39
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/cli/console.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -272,12 +272,12 @@ void InitConsole() {
std::exit(sig);
};

std::signal(SIGTERM, terminate);
std::signal(SIGABRT, terminate);
std::signal(SIGINT, terminate);
std::signal(SIGSEGV, terminate);
//std::signal(SIGTERM, terminate);
//std::signal(SIGABRT, terminate);
//std::signal(SIGINT, terminate);
//std::signal(SIGSEGV, terminate);
#ifdef SIGBUS
std::signal(SIGBUS, terminate);
//std::signal(SIGBUS, terminate);
#endif
}

Expand Down

0 comments on commit 50cff39

Please sign in to comment.