diff --git a/RqliteDotnet/RqliteClient.cs b/RqliteDotnet/RqliteClient.cs index 7621886..a0a81c7 100644 --- a/RqliteDotnet/RqliteClient.cs +++ b/RqliteDotnet/RqliteClient.cs @@ -4,7 +4,7 @@ namespace RqliteDotnet; -public class RqliteClient : IRqliteClient +public class RqliteClient : IRqliteClient, IDisposable { private readonly HttpClient _httpClient; @@ -147,4 +147,9 @@ private string GetParameters(DbFlag? flags) return x; } + + public void Dispose() + { + _httpClient.Dispose(); + } }