Skip to content
Snippets Groups Projects
Commit c640ee8e authored by akwizgran's avatar akwizgran
Browse files

Merge branch '714-asynchronous-context-leaks' into 'master'

Fixed asynchronous Activity leaks in Fragments

If a Fragment has been detached its `getActivity()` method will return null, providing numerous crash possibilities within the app.

My approach to fixing this is to make Fragments use their own `runOnUiThreadUnlessDestroyed` method, which also checks if the Fragment has been detached before running the Runnable

Closes #714

See merge request !387
parents fbcf3349 c36bb3e6
No related branches found
No related tags found
Loading
Showing
with 54 additions and 39 deletions
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