PojavLauncherTeam/PojavLauncher

[BUG] Crash when disconnecting controller during save and quit

Open

#6.164 geöffnet am 11. Okt. 2024

Auf GitHub ansehen
 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)Java (1.149 Forks)batch import
bughelp wantedwell written

Repository-Metriken

Stars
 (5.279 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

Describe the bug

Disconnecting the controller too soon while the game/app is loading after hitting 'save and quit' from ingame results in a crash.

The log file and images/videos

latestcrash.txt latestlog.txt

Steps To Reproduce

Using Modpack: https://www.curseforge.com/minecraft/modpacks/tekkit-remastered with Optifine 1.12.2 HD_U_G5 installed manually via mods folder in custom instance.
Controller: GameSir X2S USB-C in HID mode.

1. Start PoJavLauncher
2. Start Minecraft and connect USB-C controller 
3. Open a world
4. ESC menu > Save and Quit
5. Immediately disconnect controller before main menu loads
6. crash

Expected Behavior

No crash occurs when disconnecting the controller at that time.

Platform

- Device model: sofiap_retail Moto G Stylus (XT2043-4)
- CPU architecture: arm64-v8a
- Android version: 11
- PojavLauncher version: oxglove-20240922-a6a6a29-v3_openjdk

Anything else?

No response

Contributor Guide