mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Ensure UpdateManager is Disposed #1320
This commit is contained in:
parent
1e79f202f4
commit
0a34143388
1 changed files with 3 additions and 1 deletions
|
|
@ -71,13 +71,15 @@ namespace Wox.Core
|
|||
|
||||
await m.ApplyReleases(u);
|
||||
await m.CreateUninstallerRegistryEntry();
|
||||
m.Dispose();
|
||||
|
||||
var newVersionTips = Translater.GetTranslation("newVersionTips");
|
||||
newVersionTips = string.Format(newVersionTips, fr.Version);
|
||||
MessageBox.Show(newVersionTips);
|
||||
Log.Info($"|Updater.UpdateApp|Update succeed:{newVersionTips}");
|
||||
}
|
||||
|
||||
// always dispose UpdateManager
|
||||
m.Dispose();
|
||||
}
|
||||
|
||||
[UsedImplicitly]
|
||||
|
|
|
|||
Loading…
Reference in a new issue