mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 20:33:53 +01:00
parent
25b9244066
commit
51e0f218c9
1 changed files with 3 additions and 3 deletions
|
|
@ -80,11 +80,11 @@ public class RecentSearchesDao {
|
|||
Timber.e(e, "query deleted");
|
||||
throw new RuntimeException(e);
|
||||
} finally {
|
||||
db.release();
|
||||
db.close();
|
||||
}
|
||||
}
|
||||
} catch (RemoteException e) {
|
||||
throw new RuntimeException(e);
|
||||
} catch (Exception e) {
|
||||
Timber.e(e, "Error while clearing history");
|
||||
} finally {
|
||||
if (cursor != null) {
|
||||
cursor.close();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue