diff --git a/lib/shared_memory.cpp b/lib/shared_memory.cpp index e694e5dd..1fa0b056 100644 --- a/lib/shared_memory.cpp +++ b/lib/shared_memory.cpp @@ -526,6 +526,7 @@ namespace IPC { hasCounter = 0; payLen = 0; offsetOnPage = 0; + mySemaphore = 0; } sharedClient::sharedClient(const sharedClient & rhs ) {