Avoid cyclic iteration check, fixes #24969

This commit is contained in:
Juan Linietsky
2019-01-22 13:17:39 -03:00
parent c70c43c888
commit 0c9fd3c4b4
4 changed files with 19 additions and 2 deletions

View File

@ -783,7 +783,9 @@ LRESULT OS_Windows::WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
case WM_TIMER: {
if (wParam == move_timer_id) {
process_key_events();
Main::iteration();
if (!Main::is_iterating()) {
Main::iteration();
}
}
} break;