1.1 --- a/GateKeeper.cpp Mon Nov 07 17:48:35 2016 +0100
1.2 +++ b/GateKeeper.cpp Mon Nov 07 17:54:56 2016 +0100
1.3 @@ -379,6 +379,14 @@
1.4
1.5 void GateKeeper::update_product(product p, DWORD context)
1.6 {
1.7 + {
1.8 + HANDLE hMutex = CreateMutex(NULL, TRUE, _T("PEPINSTALLERMUTEX"));
1.9 + if (hMutex)
1.10 + CloseHandle(hMutex);
1.11 + else
1.12 + return;
1.13 + }
1.14 +
1.15 BCRYPT_KEY_HANDLE dk = delivery_key();
1.16 #ifdef UNICODE
1.17 tstring delivery = utility::utf16_string(wrapped_delivery_key(dk));