cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vladimir-kotikov <...@git.apache.org>
Subject [GitHub] cordova-plugin-contacts pull request: Solving memory leak issues d...
Date Mon, 19 Oct 2015 14:02:55 GMT
Github user vladimir-kotikov commented on a diff in the pull request:

    https://github.com/apache/cordova-plugin-contacts/pull/80#discussion_r42373906
  
    --- Diff: src/android/ContactAccessorSdk5.java ---
    @@ -283,6 +283,10 @@ public JSONArray search(JSONArray fields, JSONObject options) {
                     ContactsContract.Data.CONTACT_ID + " ASC");
              
             JSONArray contacts = populateContactArray(limit, populate, c);
    +        
    +        if (!c.isClosed()) {
    +          c.close();
    --- End diff --
    
    Please correct indentation to use 4 spaces per one level.


---
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