Skip to content

Conversation

@aure
Copy link
Contributor

@aure aure commented Sep 3, 2018

This change avoids force unwrapping of something that might not exist. You can witness the crash that this could cause by running the Macaw Example project and going to the Events demo. Then use more than one finger and watch the thread exception on line 299 of MacawView.swift.

This may not be the best long term way to deal with multi-touch, but it is definitely an improvement.

@ystrot ystrot self-assigned this Sep 4, 2018
@ystrot ystrot added this to the 0.9.3 milestone Sep 4, 2018
@ystrot ystrot merged commit af9727e into exyte:master Sep 4, 2018
@f3dm76
Copy link
Collaborator

f3dm76 commented Sep 4, 2018

Thanks, aure! Your changes are available in the master branch

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