dekatotoro / dekatotoro/PullToRefreshSwift

Simultaneous access in observeValue(forKeypath:of:change:context:) causes a crash

Open
#34 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Swift
Stars
535
Forks
101
PR merge metrics
No merged PRs in 30d

Description

When building with Xcode 9.1/Swift 4, our production app crashes on load with the following message:

`Thread 1: Simultaneous accesses to 0x10391fbb0, but modification requires exclusive access`

Initial call where the issue happens is

`tableView.addPullRefresh(options:refreshCompletion)`, which then cascades down to the method mentioned above.

Possibly caused by something similar to this:
https://github.com/Yalantis/PullToRefresh/issues/72

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.