Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

Add check for disposed gesture detector on VisualElementRenderer #706

Merged
merged 1 commit into from Jan 24, 2017

Conversation

hartez
Copy link
Contributor

@hartez hartez commented Jan 23, 2017

Description of Change

Gestures on view cells which are in the process of being destroyed (e.g., if the ListView's underlying data source is being replaced) can end up in a race condition where the underlying Android gesture detector is already disposed before they are handled. This change adds a check for this condition to avoid a crash.

No UI tests for this; the timing on simulated gestures isn't accurate enough to consistently reproduce this issue.

Bugs Fixed

API Changes

  • None

Behavioral Changes

  • None

PR Checklist

  • Has tests (if omitted, state reason in description)
  • Rebased on top of master at time of PR
  • Changes adhere to coding standard
  • Consolidate commits as makes sense

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.

None yet

5 participants