mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-09 12:46:47 +02:00
Ensure UpdateManager is Disposed #1320
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user