Skip to content
This repository has been archived by the owner on Jun 21, 2023. It is now read-only.

Make onSnapshotFailed run on main thread. #347

Merged
merged 1 commit into from
Apr 28, 2020
Merged

Conversation

Chaoba
Copy link
Contributor

@Chaoba Chaoba commented Apr 28, 2020

<changelog>Fix onSnapshotFailed not be called on main thread.</changelog>

#Resolves #346

@Chaoba Chaoba requested a review from tobrun April 28, 2020 08:15
@Chaoba Chaoba merged commit c77a49c into master Apr 28, 2020
@chloekraw
Copy link
Contributor

@Chaoba @tobrun what's the impact of onSnapshotFailed not being called on the main thread? Does it need to be patched in 9.1.0?

@chloekraw chloekraw mentioned this pull request Apr 30, 2020
@Chaoba Chaoba deleted the kl-snapshotter-crash branch April 30, 2020 07:00
@Chaoba
Copy link
Contributor Author

Chaoba commented Apr 30, 2020

@chloekraw It will cause crash if developers handle the error directly and make change to UI.

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.

Snapshotter test case crash
3 participants