Reload interfaces if we don't have multicast or link

This commit is contained in:
Patrick Nicolas
2026-04-09 12:16:31 +02:00
parent 6c6519fab5
commit e7450df991
4 changed files with 23 additions and 9 deletions
-3
View File
@@ -1320,7 +1320,6 @@ void scenes::lobby::on_focused()
std::ranges::sort(local_environments, std::less{});
setup_passthrough();
multicast = application::get_wifi_lock().get_multicast_lock();
discover.emplace();
session.set_performance_level(XR_PERF_SETTINGS_DOMAIN_CPU_EXT, XR_PERF_SETTINGS_LEVEL_SUSTAINED_HIGH_EXT);
@@ -1352,8 +1351,6 @@ void scenes::lobby::on_unfocused()
left_hand.reset();
right_hand.reset();
face_tracker.emplace<std::monostate>();
multicast.reset();
}
void scenes::lobby::on_xr_event(const xr::event & event)