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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

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

Reply via email to