Skip to content

Fix NPE occurring when swiping fast between chapters#363

Merged
mahavir155 merged 1 commit into
FolioReader:masterfrom
egidijusk:npe-fix
Sep 18, 2019
Merged

Fix NPE occurring when swiping fast between chapters#363
mahavir155 merged 1 commit into
FolioReader:masterfrom
egidijusk:npe-fix

Conversation

@egidijusk
Copy link
Copy Markdown
Contributor

If you swipe between chapters back and forth very fast - the app will crash. Variable context becomes null at some point. I fixed this by using context from mWebview.

How to reproduce this crash: https://youtu.be/Af8_L9MdgMk

@nphausg
Copy link
Copy Markdown

nphausg commented Aug 1, 2019

Great!

@mahavir155 mahavir155 merged commit 2a3b4d5 into FolioReader:master Sep 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants