slidevjs / slidev

Presentation Slides for Developers
https://sli.dev
MIT License
32.82k stars 1.33k forks source link

wake lock causes the browser to crash #1853

Open KermanX opened 4 weeks ago

KermanX commented 4 weeks ago

Originally posted by @Boshen in https://github.com/slidevjs/slidev/issues/1826#issuecomment-2331170514

My chrome kept crashing after 5 minutes for the past two days while trying to record for my Vite conf talk 🥲

image

I'm on version 0.49.29, used QuickTime Player for screen recording with slide'v builtin camera mode (so heavy CPU and memory usage).

My final successful attempt was wakeLock: false.

There may be a correlation with lock screen time as well ...

image
KermanX commented 4 weeks ago

I guess this crash was caused by something other than the infinite loop in #1826 🥲

Because there is a workaround, and the issue is not easy to reproduce, we may keep the issue there and wait for more information.

Boshen commented 4 weeks ago

I'm going to try a few more times in the next few days and see if I can reproduce this.