更新確認をWPF起動中に限り行う

このコミットが含まれているのは:
routersys committed 2026-09-22 12:39:56 +09:00
1 親 b572d93956
コミット 946e63a30a
1ファイル変更
+1 -1
+1 -1
ファイルの表示
@@ -13,7 +13,7 @@ internal static class InkDispersionUpdateNotifier
public static void EnsureCheckedOnce()
{
if (Interlocked.Exchange(ref _started, 1) != 0)
if (Application.Current is null || Interlocked.Exchange(ref _started, 1) != 0)
return;
_ = RunAsync();
}