diff --git a/SDWebImage/Private/SDDisplayLink.m b/SDWebImage/Private/SDDisplayLink.m index 6cf08159..39371794 100644 --- a/SDWebImage/Private/SDDisplayLink.m +++ b/SDWebImage/Private/SDDisplayLink.m @@ -103,7 +103,7 @@ static CVReturn DisplayLinkCallback(CVDisplayLinkRef displayLink, const CVTimeSt duration = nextFireDate - self.currentFireDate; } #endif - if (duration == 0) { + if (duration <= 0) { duration = kSDDisplayLinkInterval; } return duration;