Fix msedgewebview2.exe leak

This commit is contained in:
Timothy Baldridge 2022-09-25 13:10:49 -06:00
parent d870f15ebd
commit a3ccc58614
2 changed files with 10 additions and 1 deletions

View File

@ -2,6 +2,10 @@
#### Version - 3.0.1.5 - 9/??/2022
* Fix MO2ArchiveName resolution
* Improve performance of the compiler stack
* Save the location of the browser window and open the next window in the same location
* Fix a leak of msedgwebview2.exe instances when doing manual downloads
#### Version - 3.0.1.4 - 9/21/2022
* Fix several of case sensitive path comparisons, that could result in deleting downloads

View File

@ -54,6 +54,11 @@ public partial class BrowserWindow : MetroWindow
});
vm.RunWrapper(CancellationToken.None)
.ContinueWith(_ => Dispatcher.Invoke(Close));
.ContinueWith(_ => Dispatcher.Invoke(() =>
{
Close();
Browser.Dispose();
Browser = null;
}));
}
}