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

Skip to content
Commit d88e7487 authored by Fabián Kozynski's avatar Fabián Kozynski
Browse files

Prevent NPE on race condition

There could be a race condition where there is a dispatch to mCallback
after it's been nulled, due to the dispatch happening not on the same
thread. Check if the callback has been nulled.

Fixes: 287421329
Test: build
Change-Id: Idaa0c106ff034ea55b08bf4230565aa3cae6f6a8
parent 6f4622fd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment