HomePhabricator
Diffusion Comm 464c0ec7babd

[native] FIXED: Overlay navigator crashes when we open too many overlays at the…

Description

[native] FIXED: Overlay navigator crashes when we open too many overlays at the same time.

Summary:
Fixed this issue: https://linear.app/comm/issue/ENG-2090/overlay-navigator-crashes-when-we-open-too-many-overlays-at-the-same
Talked with Ashoat and added if statement to prevent cleaning scene data few times.
Left invariant inside if statement just for sanity checks. If should be deleted let me know.

Test Plan:
Build app.
Tried to reproduce crash, but unsuccessfully.

Reviewers: tomek, ashoat, atul

Reviewed By: tomek, ashoat

Subscribers: abosh, atul, ashoat, tomek

Differential Revision: https://phab.comm.dev/D5442

Details