Skip to content

Commit

Permalink
Close reader before closing stream
Browse files Browse the repository at this point in the history
  • Loading branch information
Scott Offen committed Aug 24, 2016
1 parent 391ecef commit 9e42330
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions src/Grapevine/Client/RestResponse.cs
Original file line number Diff line number Diff line change
Expand Up @@ -174,9 +174,8 @@ public string GetContent()

var reader = new StreamReader(stream);
_content = reader.ReadToEnd();

stream.Close();
reader.Close();
stream.Close();

return _content;
}
Expand Down
4 changes: 2 additions & 2 deletions src/Grapevine/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("4.0.0.79")]
[assembly: AssemblyFileVersion("4.0.0.79")]
[assembly: AssemblyVersion("4.0.0.82")]
[assembly: AssemblyFileVersion("4.0.0.82")]

[assembly: InternalsVisibleTo("Grapevine.Tests")]

0 comments on commit 9e42330

Please sign in to comment.