fix possible endless loop while polling curl socket (#5589)

This commit is contained in:
Anton Popov 2024-05-16 21:02:01 +02:00 committed by GitHub
parent d41af3f1e2
commit 5d3f95535a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -161,6 +161,7 @@ int pollSocketUntilEventOrTimeout(
result = poll(&poller, 1, pollTimeoutMs);
if (result < 0 && EINTR == errno)
{
now = std::chrono::steady_clock::now();
continue;
}
#elif defined(AZ_PLATFORM_WINDOWS)