Skip to content

Commit

Permalink
Add: WebClient despose method
Browse files Browse the repository at this point in the history
  • Loading branch information
bitdust committed Apr 16, 2020
1 parent e915274 commit 99c5a6c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions EarthLiveSharp.sln
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "UnitTest", "UnitTest\UnitTest.csproj", "{F11F6C41-09F8-4D3A-8BA5-30619A7D2883}"
EndProject
Global
GlobalSection(Performance) = preSolution
HasPerformanceSessions = true
EndGlobalSection
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
Expand Down
4 changes: 4 additions & 0 deletions EarthLiveSharp/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,10 @@ private int SaveImage()
Trace.WriteLine(string.Format("[url]{0} [image_path]{1}", url, image_path));
return -1;
}
finally
{
client.Dispose();
}
}

private void JoinImage()
Expand Down

0 comments on commit 99c5a6c

Please sign in to comment.