We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d9e324d commit b25badaCopy full SHA for b25bada
FocusTimer/App.xaml.cs
@@ -18,6 +18,7 @@
18
using System.IO;
19
using System.Linq;
20
using System.Text.RegularExpressions;
21
+using System.Threading.Tasks;
22
using System.Windows;
23
using FocusTimer.Data.DataContext;
24
using FocusTimer.Features.Splash;
@@ -45,8 +46,8 @@ protected override void OnStartup(StartupEventArgs e)
45
46
{
47
base.OnStartup(e);
48
- // log4net 초기화 전에 오래된 로그 파일 정리
49
- CleanupOldLogFiles();
+ // 오래된 로그 파일을 백그라운드에서 비동기로 정리 (UI 블로킹 방지)
50
+ _ = Task.Run(() => CleanupOldLogFiles());
51
52
Logger.Info("앱을 시작합니다.");
53
0 commit comments