Files
sphaira/sphaira/source
ITotalJustice 8fb34d42dc fix very rare crash when closing sphaira from the appstore when saves/games menu has also been opened.
i've been trying to track down this bug for a while. i still don't understand why it happens, however i have managed to
reproduce it an narrow down the crash, and thus fix it.

the bug was caused calling nvgDeleteImage() inside ~LazyImage() on image 43. this would only trigger once games/saves menu
had been opened at least once also.

i can only assume that the image fd was still refrenced in deko3d when drawing, as it would only ever crash on the visible images.
destroying fb resources before the calls to nvg delete seems to fix the issue.

maybe the explicit call to waitIdle is what fixes it? or clearing the cmd buf? who knows...
2025-06-05 02:56:13 +01:00
..
2025-06-05 00:42:29 +01:00
2025-06-02 18:00:40 +01:00
2024-12-16 21:13:05 +00:00
2025-05-19 19:57:15 +01:00
2025-04-20 14:12:12 +01:00
2025-04-20 14:18:02 +01:00