Make sure no callbacks are called when GoogleMap is destroyed
Description
Make sure no callbacks are called when GoogleMap is destroyed
Screenshots
Technical details
We faced an IllegalStateException related to a null root view of a fragment layout.
If the GoogleMap is destroyed, there is no need to call the callbacks related to it in an upcoming future.
Tests
Tested with Tisseo app.
Issues
10 commandments of code reviews
Edited by Jonathan Klee