Skip to content
This repository has been archived by the owner on Feb 5, 2025. It is now read-only.

Fix repeated reboots when useWindowFrame switch #457

Merged
merged 1 commit into from
Jan 17, 2025

Conversation

MingLLuo
Copy link
Contributor

  • add debounce + statelock(isRelaunching) to avoid multiple restarts due to rapid consecutive clicks.
    复现(MacOS):在应用设置下,连续点击“使用系统标题栏”可能会导致多次应用实例的创建。

我本地工具链构建有点问题,没能测试成功(显示不了 electron gui),可能还需要验证一下
image
image

- add debounce / statelock(isRelaunching) to avoid multiple restarts due to rapid consecutive clicks.
@ezequielnick ezequielnick merged commit 749ac64 into mihomo-party-org:master Jan 17, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants