[Bug] 休眠以后,进程直接掉

Author: dragon100826ggCreated Sep 10, 2026Updated Sep 10, 2026
Labelsbug

Please search before asking

  • I searched in the issues and found nothing similar.

Please read README

  • I have read the troubleshooting section in the README in detail.

Please check your network and OpenAI API quota

  • I am sure it is not a network issue or an OpenAI API quota issue.

NextAI Translator version

0.6.43

Model name

Gemini-3.8-flash

系统/浏览器版本 System/Browser version

Chrome 152.0.7977.65

复现步骤 Reproduce step

  1. 正常启动 NextAI Translator 桌面端,确认托盘图标存在、划词/快捷键翻译可用。
  2. 让系统进入休眠。
  3. 唤醒电脑。
  4. 再次尝试划词翻译 / 点托盘图标 / 查看任务管理器中的进程。

你看到了什么错误?What errors do you see?

系统一休眠,NextAI Translator 就掉进程或无法继续工作,需要重新打开程序。

你期望看到什么?What did you expect to see?

系统唤醒后:

  1. 进程仍然存活(或能自动拉起);
  2. 托盘图标可用;
  3. 划词/快捷键翻译可继续使用,不必每次唤醒后手动重启。

还有其他的内容吗?Anything else?

nope

你是否愿意提交一份 PR 来修改这个错误?Are you willing to submit a PR?

  • 我愿意提供 PR! I'm willing to submit a PR!

Source: nextai-translator/nextai-translator