improve:白板翻页性能

This commit is contained in:
2026-02-22 13:57:56 +08:00
parent 30bc0b03e5
commit 2d51eb73b5
2 changed files with 6 additions and 19 deletions
+6 -4
View File
@@ -556,10 +556,12 @@ namespace Ink_Canvas
if (arg != "/F")
{
var p = new Process();
p.StartInfo = new ProcessStartInfo("taskkill", arg);
p.StartInfo.WindowStyle = ProcessWindowStyle.Hidden;
p.Start();
using (var p = new Process())
{
p.StartInfo = new ProcessStartInfo("taskkill", arg);
p.StartInfo.WindowStyle = ProcessWindowStyle.Hidden;
p.Start();
}
if (arg.Contains("EasiNote"))
{