Skip to content
This repository has been archived by the owner on Jun 3, 2021. It is now read-only.

* [android] Fixing clearTimeout and clearInterval doesn't work when funId is greater than 127 #439

Merged
merged 1 commit into from
Jun 13, 2017

Commits on Jun 12, 2017

  1. * [android] Fix the problem of clearTimeout and clearInterval.

    Due the implementation of [int auto-boxing](https://stackoverflow.com/questions/3130311/weird-integer-boxing-in-java) and [messageQueue](https://stackoverflow.com/questions/36190851/android-os-handler-removemessages-doesnt-work-when-poxing-value-type-as-msg-obj), clearTimeout and clearTimeout won't work when funId is greater than 127. It works fine when funId is smaller than 127.
    
    Ref this [demo](http://dotwe.org/vue/1c7b541231eb86db98afe3c1b48bcdcc)
    YorkShen committed Jun 12, 2017
    Configuration menu
    Copy the full SHA
    fefe2e8 View commit details
    Browse the repository at this point in the history