Skip to content

fix: 修复页面卡顿问题 - #219

Open
yznt wants to merge 1 commit into
rememberber:masterfrom
yznt:fix-auto-git-pull-blocking
Open

fix: 修复页面卡顿问题#219
yznt wants to merge 1 commit into
rememberber:masterfrom
yznt:fix-auto-git-pull-blocking

Conversation

@yznt

@yznt yznt commented Jul 25, 2026

Copy link
Copy Markdown

修复页面卡顿

原因

swing.Timer 任务执行在EDT线程中,autoGit/autoPul 中使用 swing.Timer 定期执行长耗时的io任务,导致ui无法响应

解决

使用ScheduledExecutorService + scheduleWithFixedDelay 替换 swing.Timer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant