Skip to content
This repository has been archived by the owner on Apr 2, 2018. It is now read-only.

Avoid Android crashes caused by onDestroy NullpointerExceptions #284

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Conversation

sieman
Copy link

@sieman sieman commented Jul 5, 2017

A NullpointerException in onDestroy() method caused crashes, that was reported in play store. This pull request try to avoid crashes.

@wischweh
Copy link

wischweh commented Jul 5, 2017

+1

@ach
Copy link

ach commented Mar 29, 2018

You have created a NullPointer in your fix. If rootView is null, your catch-block will throw like the original code did.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants