cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dblotsky <...@git.apache.org>
Subject [GitHub] cordova-plugin-geolocation pull request: CB-10574: MobileSpec can'...
Date Fri, 12 Feb 2016 01:29:07 GMT
Github user dblotsky commented on the pull request:

    https://github.com/apache/cordova-plugin-geolocation/pull/70#issuecomment-183142774
  
    It looks like reusing the `Geolocator` object was done *by design*, as is suggested by
the naming of `ensureLocator`. Also it is assumed to be a singleton, so creating a new one
on every call to `getLocation` will lead to incorrect behaviour.
    
    What exactly causes the crash when the `loc` object is reused? Does `addEventListener`
not allow for more than one listener?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
For additional commands, e-mail: dev-help@cordova.apache.org


Mime
View raw message