1
0
Fork 0
mirror of https://github.com/jugeeya/UltimateTrainingModpack.git synced 2024-10-03 09:44:26 +00:00

Don't spawn web menu thread on emulator

This commit is contained in:
jugeeya 2022-10-03 08:52:12 -07:00 committed by GitHub
parent acafa90caa
commit ef5fb1c1e4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -126,6 +126,8 @@ pub fn main() {
});
std::thread::spawn(|| unsafe { quick_menu_loop() });
std::thread::spawn(|| unsafe { web_session_loop() });
if is_emulator() {
std::thread::spawn(|| unsafe { web_session_loop() });
}
}