aboutsummaryrefslogtreecommitdiff
path: root/zenutil/zenserverprocess.cpp
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2021-08-09 16:54:57 +0200
committerStefan Boberg <[email protected]>2021-08-09 16:54:57 +0200
commita7ee7fa8ed2ff71913835bdc1913e0b572eca7c7 (patch)
tree64dc093e3f350b51502a33d62e0a390409560e60 /zenutil/zenserverprocess.cpp
parentAdded SYNCHRONIZE to ProcessHandle::Initialize (diff)
downloadzen-a7ee7fa8ed2ff71913835bdc1913e0b572eca7c7.tar.xz
zen-a7ee7fa8ed2ff71913835bdc1913e0b572eca7c7.zip
Changed naming scheme for lifecycle events. Always create shutdown events (not just in test scenarios)
Diffstat (limited to 'zenutil/zenserverprocess.cpp')
-rw-r--r--zenutil/zenserverprocess.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/zenutil/zenserverprocess.cpp b/zenutil/zenserverprocess.cpp
index 2a6b583de..73b8d01f1 100644
--- a/zenutil/zenserverprocess.cpp
+++ b/zenutil/zenserverprocess.cpp
@@ -362,7 +362,7 @@ ZenServerInstance::SpawnServer(int BasePort)
zen::NamedEvent ChildEvent{ChildEventName};
zen::ExtendableStringBuilder<32> ChildShutdownEventName;
- ChildShutdownEventName << "Zen_Child_" << ChildId;
+ ChildShutdownEventName << "Zen_" << BasePort;
ChildShutdownEventName << "_Shutdown";
zen::NamedEvent ChildShutdownEvent{ChildShutdownEventName};