Skip to content

Commit

Permalink
dispose httpclient might not be a good idea after all
Browse files Browse the repository at this point in the history
  • Loading branch information
ndudnicz committed Jun 4, 2020
1 parent d653f79 commit 842df0c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
6 changes: 0 additions & 6 deletions src/MeilisearchDotnet/Meilisearch.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,6 @@ public Meilisearch(string host, string apiKey) : base(host, apiKey)
Indexes = new Dictionary<string, MeilisearchDotnet.Index>();
}

~Meilisearch()
{
Indexes = null;
HttpClient.Dispose();
}

/// <summary>
/// Return an Index instance
/// </summary>
Expand Down
2 changes: 1 addition & 1 deletion src/MeilisearchDotnet/meilisearch-dotnet.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<OutputType>Library</OutputType>
<RootNamespace>meilisearch-dotnet</RootNamespace>
<PackageId>MeilisearchDotnet</PackageId>
<Version>0.0.5</Version>
<Version>0.0.6-a</Version>
<Authors>ndudnicz</Authors>
<Description>
MeiliSearchDotnet is a client for MeiliSearch written in .NET standard 2.0. MeiliSearch is a powerful, fast, open-source, easy to use and deploy search engine. Both searching and indexing are highly customizable. Features such as typo-tolerance, filters, and synonyms are provided out-of-the-box.
Expand Down

0 comments on commit 842df0c

Please sign in to comment.