Skip to content

Commit

Permalink
*修复 内存泄漏
Browse files Browse the repository at this point in the history
*更新 0.0.2.107
  • Loading branch information
MakesYT committed Feb 20, 2025
1 parent 56ee26e commit 0fe3eed
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion KitopiaAvalonia/KitopiaAvalonia.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<ApplicationIcon>Assets\icon.ico</ApplicationIcon>
<IncludeNativeLibrariesForSelfExtract>true</IncludeNativeLibrariesForSelfExtract>
<DebugType Condition="'$(Configuration)' == 'Release'">none</DebugType>
<Version>0.0.2.106</Version>
<Version>0.0.2.107</Version>
<AvaloniaVersion>11.2.2</AvaloniaVersion>
<Configurations>Debug;Release</Configurations>
<Platforms>AnyCPU;x64</Platforms>
Expand Down
4 changes: 4 additions & 0 deletions KitopiaEx/Translate/TranslateWindowViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,8 @@ private async Task TryTranslate()
TargetText = e.Message;
}
}
~TranslateWindowViewModel()
{
httpClient.Dispose();
}
}

0 comments on commit 0fe3eed

Please sign in to comment.