Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sometimes back face shows front face #38

Open
NilsEnevoldsen opened this issue Mar 25, 2019 · 0 comments
Open

Sometimes back face shows front face #38

NilsEnevoldsen opened this issue Mar 25, 2019 · 0 comments
Labels

Comments

@NilsEnevoldsen
Copy link
Owner

I think what's happening is that the fast path finishes fetching the front-face image before the correct path can abort it. Then the correct path sets the imgUri to the back face, and then the fast path overwrites the imgUri with the front face. This happens because the entire fast path isn't aborted, just the fetch — and it's too late to abort the fetch.

I thought the fetch would be the long-duration part of the fast execution path, but it seems that response.blob() can actually take longer than the fetch().

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant