Skip to content

Commit

Permalink
refactor: Clear Bitmap Memory Cache on App exit as well
Browse files Browse the repository at this point in the history
  • Loading branch information
kaushiknsanji committed Oct 22, 2019
1 parent d5adfe5 commit a01331b
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -449,6 +449,9 @@ protected void onPause() {

//Clearing any pending callbacks/messages sent to the Network Error Handler
mNetworkErrorHandler.removeCallbacksAndMessages(null);

//Clearing the Bitmap Memory Cache when the activity is finishing
BitmapImageCache.clearCache();
}

}
Expand Down

0 comments on commit a01331b

Please sign in to comment.