aboutsummaryrefslogtreecommitdiff
path: root/src/zenserver/zenserver.cpp
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2023-11-15 11:30:56 +0100
committerGitHub <[email protected]>2023-11-15 11:30:56 +0100
commitd02b0720813a62a4f1fe875e6e784843f5c2da46 (patch)
tree31768a0f52793b0205f156c0b827f11decc2c479 /src/zenserver/zenserver.cpp
parentadd host name to sentry (#537) (diff)
downloadzen-d02b0720813a62a4f1fe875e6e784843f5c2da46.tar.xz
zen-d02b0720813a62a4f1fe875e6e784843f5c2da46.zip
fix race contdition when signaling shutdown of process and waiting for completion (#539)
Diffstat (limited to 'src/zenserver/zenserver.cpp')
-rw-r--r--src/zenserver/zenserver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zenserver/zenserver.cpp b/src/zenserver/zenserver.cpp
index 7111900ec..9d3502a23 100644
--- a/src/zenserver/zenserver.cpp
+++ b/src/zenserver/zenserver.cpp
@@ -720,7 +720,7 @@ ZenServer::CheckSigInt()
{
if (utils::SignalCounter[SIGINT] > 0)
{
- ZEN_INFO("SIGINT triggered (Ctrl+C), exiting");
+ ZEN_INFO("SIGINT triggered (Ctrl+C) for process {}, exiting", zen::GetCurrentProcessId());
RequestExit(128 + SIGINT);
return;
}