-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
关于越用越卡的原因: IMKServer会为每一个App的输入会话新实例化一个FireInputController对象,但是之前实例化的对象只有在窗口关闭或应用程序退出时才会销毁,所以对全局事件的监听不能放在FireInputController中,会因为上述原因造成多次监听,最终导致了越用越卡。 修复方案: 由于候选窗口CandidatesWindow是单例的,所以把事件的监听改为放在CandidatesWindow中应该就能解决
- Loading branch information
qwertyyb
committed
Apr 5, 2023
1 parent
cbefa87
commit 6b5a1fa
Showing
5 changed files
with
76 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters