Commit 823396a3 authored by Varun Patil's avatar Varun Patil

Clear memory cache on activity destroy

parent 749ca2d4
......@@ -425,6 +425,13 @@ public class MainActivity extends AppCompatActivity implements NavigationView.On
}
}
@Override
protected void onDestroy() {
Utils.eventCache.clear();
Utils.notificationCache = null;
super.onDestroy();
}
/**
* Update FCM Id and update profile
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment