mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-07 03:36:44 +02:00
Fix Debug output
DebugHelper is useless, bacuase the return statement is always executed before the actual code.
This commit is contained in:
@@ -1,13 +0,0 @@
|
||||
using System.Diagnostics;
|
||||
|
||||
namespace Wox.Infrastructure
|
||||
{
|
||||
public static class DebugHelper
|
||||
{
|
||||
public static void WriteLine(string msg)
|
||||
{
|
||||
return;
|
||||
Debug.WriteLine(msg);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -17,7 +17,7 @@ namespace Wox.Infrastructure
|
||||
public void Dispose()
|
||||
{
|
||||
stopwatch.Stop();
|
||||
DebugHelper.WriteLine(name + ":" + stopwatch.ElapsedMilliseconds + "ms");
|
||||
Debug.WriteLine(name + ":" + stopwatch.ElapsedMilliseconds + "ms");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -49,7 +49,6 @@
|
||||
<Reference Include="WindowsBase" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="DebugHelper.cs" />
|
||||
<Compile Include="Hotkey\InterceptKeys.cs" />
|
||||
<Compile Include="Hotkey\KeyEvent.cs" />
|
||||
<Compile Include="Logger\Log.cs" />
|
||||
|
||||
Reference in New Issue
Block a user