Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content

Make sure no callbacks are called when GoogleMap is destroyed

Jonathan Klee requested to merge 7082-s-clear-callbacks into master

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

e/backlog#7082 (closed)

10 commandments of code reviews

👪 https://gitlab.e.foundation/internal/wiki/-/wikis/mobile-team/guidelines/Code-review

Edited by Jonathan Klee

Merge request reports

Loading