Skip to content

Commit

Permalink
Call KawazuConverter.Dispose() by Using statement
Browse files Browse the repository at this point in the history
  • Loading branch information
Cutano committed Mar 8, 2021
1 parent f444569 commit de0f13b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Kawazu-Cli/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ private static async Task Main(string[] args)
Console.WriteLine("Type 'exit' to quit");
Console.WriteLine();

var converter = new KawazuConverter();

using var converter = new KawazuConverter(); // Call KawazuConverter.Dispose() by using statement
while (true)
{
Console.WriteLine("Original Japanese Sentence:");
Expand Down

0 comments on commit de0f13b

Please sign in to comment.