1
0
Fork 0
mirror of https://github.com/jugeeya/UltimateTrainingModpack.git synced 2024-11-20 08:54:15 +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

@ -127,5 +127,7 @@ 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() });
}
}