If you’re running Windows 7, install the . This update back-ports API Sets to Windows 7 SP1.

void WerManager::DisableAutoRestart() if (m_isRestartRegistered) // API Call: WerUnregisterAppLocalRestart // Ensures the app doesn't restart loop during a manual close. WerUnregisterAppLocalRestart(); m_isRestartRegistered = false;