Skip to content

Commit

Permalink
Fix last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
vicpinm authored Jun 12, 2018
1 parent 9945e34 commit 47a8fdd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/com/activeandroid/rx/RxSelect.java
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,8 @@ public T call(SqlBrite.Query query) {
model.loadFromCursor(cursor);
cursor.close();
return (T) model;
} else if(cursor != null) {
cursor.close();
}
} catch (Exception ex) {
ex.printStackTrace();
Expand Down

0 comments on commit 47a8fdd

Please sign in to comment.