mirror of
https://github.com/php/php-src.git
synced 2025-08-16 14:08:47 +02:00
Fix (revert) loop exit condition
This commit is contained in:
parent
262160e0e9
commit
2d55e8c186
1 changed files with 1 additions and 1 deletions
|
@ -206,7 +206,7 @@ static int create_segments(size_t requested_size, zend_shared_segment ***shared_
|
|||
/* Mapping failed, wait for mapping object to get freed and retry */
|
||||
CloseHandle(memfile);
|
||||
memfile = NULL;
|
||||
if (++map_retries < MAX_MAP_RETRIES) {
|
||||
if (++map_retries >= MAX_MAP_RETRIES) {
|
||||
break;
|
||||
}
|
||||
zend_shared_alloc_unlock_win32();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue