pinnacle-comp/pinnacle

Possible crash when waking from sleep

Ottatop opened this issue · 0 comments

Just hit this assert after a wakeup:

assert!(matches!(surface.render_state, RenderState::Scheduled(_)));

Should probably not schedule the render in an idle because the render state could change between the schedule and when the idle is called.