update while no ther setup is running only

COM-121
Volker Birk 6 years ago
parent ef1b6b73dd
commit a4fc95ccf0
  1. 8
      GateKeeper.cpp

@ -379,6 +379,14 @@ namespace pEp {
void GateKeeper::update_product(product p, DWORD context)
{
{
HANDLE hMutex = CreateMutex(NULL, TRUE, _T("PEPINSTALLERMUTEX"));
if (hMutex)
CloseHandle(hMutex);
else
return;
}
BCRYPT_KEY_HANDLE dk = delivery_key();
#ifdef UNICODE
tstring delivery = utility::utf16_string(wrapped_delivery_key(dk));

Loading…
Cancel
Save