You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On Fri, Nov 10, 2017, 6:33 AM Roman Elizarov ***@***.***> wrote:
Doing delay(Long.MAX_VALUE) on Android ends up invoking
Handler.postDelayed which has the following code:
public final boolean sendMessageDelayed(Message msg, long delayMillis) {
if (delayMillis < 0) delayMillis = 0;
return sendMessageAtTime(msg, SystemClock.uptimeMillis() + delayMillis);
}
Note, how addition operation here overflows on Long.MAX_VALUE delay.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#161>, or mute the
thread
<https://github.com/notifications/unsubscribe-auth/AAEEEaXVD6fKY5luso8LKUhh_3nlhmbVks5s1DSRgaJpZM4QZbq0>
.
Doing
delay(Long.MAX_VALUE)
on Android ends up invokingHandler.postDelayed
which invokes the following code:Note, how addition operation here overflows on
Long.MAX_VALUE
delay.The text was updated successfully, but these errors were encountered: