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

Adjusted when transfer variables are reset to avoid a later crash when accessing values #33

Conversation

nathanblamires
Copy link
Contributor

The function resetTransfer() sets both fileName and fileData to nil, resulting in the crash on the following line. Doing the reset after notifying the delegate fixes the issue.

@bgiori
Copy link
Member

bgiori commented Feb 6, 2020

Thanks for the PR @nathanblamires !

@bgiori bgiori merged commit a4c95e7 into JuulLabs-OSS:master Feb 6, 2020
dinesharjani added a commit to dinesharjani/mcumgr-ios that referenced this pull request May 24, 2022
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.

None yet

2 participants