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

_completionSource getting null once I cancel to upload any document on android #20

Open
ShahriatHossain opened this issue Jan 30, 2017 · 1 comment

Comments

@ShahriatHossain
Copy link

I am getting null when cancelling to upload pdf in this snippet of code

var tcs = Interlocked.Exchange(ref _completionSource, null);

here tcs getting null as a result app is crashing because of this code below:

tcs.SetResult(null);

@jfversluis
Copy link
Contributor

jfversluis commented Feb 7, 2017

Noticed this happening sometimes, tried to fix it in new code

jfversluis added a commit that referenced this issue Feb 7, 2017
And tidying some code
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

No branches or pull requests

2 participants