mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-08 04:07:40 +02:00
Fixed exceptions in dispose not allowing PT Run to terminate (#5615)
This commit is contained in:
@@ -60,8 +60,15 @@ namespace PowerLauncher
|
|||||||
{
|
{
|
||||||
RunnerHelper.WaitForPowerToysRunner(_powerToysPid, () =>
|
RunnerHelper.WaitForPowerToysRunner(_powerToysPid, () =>
|
||||||
{
|
{
|
||||||
Dispose();
|
try
|
||||||
Environment.Exit(0);
|
{
|
||||||
|
Dispose();
|
||||||
|
}
|
||||||
|
finally
|
||||||
|
{
|
||||||
|
|
||||||
|
Environment.Exit(0);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
var bootTime = new System.Diagnostics.Stopwatch();
|
var bootTime = new System.Diagnostics.Stopwatch();
|
||||||
|
|||||||
Reference in New Issue
Block a user