Skip to content
This repository has been archived by the owner on May 26, 2022. It is now read-only.

Check file handle is valid before manipulating it #199

Merged
merged 1 commit into from
Apr 12, 2016

Conversation

adrilo
Copy link
Collaborator

@adrilo adrilo commented Apr 12, 2016

This fixes issues when something went wrong on reader/writer init and the developer wants to close the reader/writer.
The file handle may not be defined so we need to add a check for it, before actually using it.

@boxcla
Copy link

boxcla commented Apr 12, 2016

Verified that @adrilo has signed the CLA. Thanks for the pull request!

This fixes issues when something went wrong on reader/writer init and the developer wants to close the reader/writer.
The file handle may not be defined so we need to add a check for it, before actually using it.
@adrilo adrilo force-pushed the check_valid_resource_on_close branch from 30d35c7 to 8bb42eb Compare April 12, 2016 17:37
@adrilo adrilo merged commit e9cd7a3 into master Apr 12, 2016
@adrilo adrilo deleted the check_valid_resource_on_close branch April 12, 2016 18:03
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.

2 participants