mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-05 02:36:19 +02:00
Do not start manually C# EtwTrace. FZ engine exit event.
This commit is contained in:
@@ -57,8 +57,6 @@ namespace MouseWithoutBorders.Class
|
||||
|
||||
ETWTrace etwTrace = new ETWTrace();
|
||||
|
||||
etwTrace.Start();
|
||||
|
||||
if (PowerToys.GPOWrapper.GPOWrapper.GetConfiguredMouseWithoutBordersEnabledValue() == PowerToys.GPOWrapper.GpoRuleConfigured.Disabled)
|
||||
{
|
||||
Common.Log("Tried to start with a GPO policy setting the utility to always be disabled. Please contact your systems administrator.");
|
||||
|
||||
@@ -40,7 +40,6 @@ namespace MouseWithoutBorders
|
||||
}
|
||||
|
||||
ETWTrace etwTrace = new ETWTrace();
|
||||
etwTrace.Start();
|
||||
|
||||
RunnerHelper.WaitForPowerToysRunnerExitFallback(() =>
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user