Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed database cursor leaks #4627

Merged
merged 8 commits into from
Oct 27, 2016
Merged

Commits on Oct 9, 2016

  1. Close the database cursor in MediaUtils

    Now the cursor is closed in the getLastRecordedVideoUri() method.
    andrew659 committed Oct 9, 2016
    Configuration menu
    Copy the full SHA
    a7dbe9a View commit details
    Browse the repository at this point in the history
  2. Close cursors in PostUploadService

    I added code to closed the database cursors used in the uploadImage() and uploadVideo() methods.
    andrew659 committed Oct 9, 2016
    Configuration menu
    Copy the full SHA
    343f2fd View commit details
    Browse the repository at this point in the history
  3. close cursor in SiteSettingsInterface

    Added code to close the database cursor used in getDefaultCategory() method. The closing code was put inside a finally block to make sure it always gets executed.
    andrew659 committed Oct 9, 2016
    Configuration menu
    Copy the full SHA
    e5cb19a View commit details
    Browse the repository at this point in the history
  4. close cursor in EditPostActivity

    Moved the cursor closing code outside the if block to make sure the cursor is closed even when it is empty (when cur.moveToFirst() returns false).
    andrew659 committed Oct 9, 2016
    Configuration menu
    Copy the full SHA
    c9045e6 View commit details
    Browse the repository at this point in the history

Commits on Oct 27, 2016

  1. Configuration menu
    Copy the full SHA
    eeed717 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9c74c73 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    688a61e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f6a6921 View commit details
    Browse the repository at this point in the history