From 17baf22f50affbafb42d75087a1a515717d8b30d Mon Sep 17 00:00:00 2001 From: Amal Dev Haridevan Date: Fri, 13 Sep 2024 15:40:37 -0400 Subject: [PATCH] Fixed issue with multiple Node discovery per process Signed-off-by: Amal Dev Haridevan --- src/NodeShared.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/NodeShared.cc b/src/NodeShared.cc index db03a9f8..78def74d 100644 --- a/src/NodeShared.cc +++ b/src/NodeShared.cc @@ -163,7 +163,8 @@ NodeShared *NodeShared::Instance() // Get current process ID. auto pid = getProcessId(); - // Get current thread ID, so we can create multiple NodeShared per Process, per thread + // Get current thread ID, so we can create multiple NodeShared per Process + // , per thread auto tid = std::this_thread::get_id(); // Create a unique id using both pid and tid std::stringstream ss;