fortheusers / hb-appstore

Homebrew App Store - GUI for downloading/managing homebrew apps
https://hb-app.store
GNU General Public License v3.0
1.08k stars 63 forks source link

[Switch] Hangs on Exit (not Home button, the in-app exit button) #93

Closed vgmoose closed 1 year ago

vgmoose commented 1 year ago

The Switch build's exit button recently stopped working in both Applet and Title override modes. As far as I can tell, the app is cleaning up all its resources, however.

When trying to debug this by removing code until it doesn't occur, it seems to have something to do with networking. As soon as I talk to the HTTPS repo, the app no longer quits. This is further supported by using the NETWORK_MOCK build flag not showing the same behavior, or even testing with an HTTP repo and observing that it exits normally.

As annoying as it is, it's not really a blocker for an upcoming release, as the user can always exit using Home, and the button could be removed. But I've spent an unfortunate amount of time trying to debug this issue. Maybe trying to reproduce it in an emulator could be useful.

vgmoose commented 1 year ago

It's anticlimactic, but this seems to have been addressed by just updating toolchain libraries.

vgmoose commented 1 year ago

Fixed in 2.3.1