BioforestChain / dweb_browser

BioforestChain Infrastructure
https://docs.dweb-browser.org
MIT License
11 stars 4 forks source link

占用cpu很高 #134

Closed rabibithan closed 1 month ago

rabibithan commented 2 months ago

@waterbang img_v3_02b2_ec362bd6-8953-4d4e-857a-4a223083010g

waterbang commented 2 months ago

需要验证以下几点

  1. 关闭的时候dweb_browser 有没有彻底关闭
  2. 是否是百分百复现
  3. 是否是一打开就占用过高
waterbang commented 2 months ago

经测试window 会遇到很多问题,并且线程卡住也很明显,关闭整个dweb_browser的时候,dweb_browser线程还是没关闭

Gaubee commented 2 months ago

jxbrowser官方文档有说到,chromium的线程需要额外的关闭代码。所以我们应该监听进程信号来做释放。

https://teamdev.com/jxbrowser/docs/guides/introduction/design.html#destruction

waterbang commented 1 month ago

fix 3720297f12028eb67987df765977822fcea44b15