1
0
mirror of https://github.com/valinet/ExplorerPatcher.git synced 2025-02-17 11:08:41 +01:00

Condition valid only when exit event is present

This commit is contained in:
Valentin Radu 2021-10-25 05:37:16 +03:00
parent d5ecd858b2
commit 91cb5c5c07

View File

@ -58,7 +58,7 @@ DWORD WINAPI MonitorSettings(SettingsChangeParameters* params)
{
params->settings[i].callback(params->settings[i].data);
}
else if (i == params->size)
else if (i == params->size && params->hExitEvent)
{
bShouldExit = TRUE;
}