incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Drew Walters (JIRA)" <>
Subject [jira] [Resolved] (CB-1090) Remove listener before invoking callback for accelerometer
Date Wed, 18 Jul 2012 18:27:34 GMT


Drew Walters resolved CB-1090.

    Resolution: Fixed
> Remove listener before invoking callback for accelerometer
> ----------------------------------------------------------
>                 Key: CB-1090
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CordovaJS
>    Affects Versions: 2.0.0
>            Reporter: Drew Walters
>            Assignee: Drew Walters
>             Fix For: 2.0.0
> The getCurrentAcceleration() code currently invokes the success or fail callbacks prior
to clearing the listener. If the invoked success or fail callbacks take a long time it can
result in them being invoked multiple times since the accelerometer continues to report data
until the listener is removed.
> Quick fix is to clear the listener prior to invoking the callbacks.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message