mirror of
https://gitlab.com/gabmus/envision.git
synced 2025-08-09 01:28:49 +00:00
fix: move profile not built error priority higher
This commit is contained in:
parent
096cc888b2
commit
a5c5687e56
1 changed files with 22 additions and 22 deletions
|
@ -152,6 +152,7 @@ impl App {
|
||||||
pub fn start_xrservice(&mut self, sender: AsyncComponentSender<Self>, debug: bool) {
|
pub fn start_xrservice(&mut self, sender: AsyncComponentSender<Self>, debug: bool) {
|
||||||
self.xrservice_ready = false;
|
self.xrservice_ready = false;
|
||||||
let prof = self.get_selected_profile();
|
let prof = self.get_selected_profile();
|
||||||
|
if prof.can_start() {
|
||||||
if let Err(e) = set_current_active_runtime_to_profile(&prof) {
|
if let Err(e) = set_current_active_runtime_to_profile(&prof) {
|
||||||
alert(
|
alert(
|
||||||
"Failed to start XR Service",
|
"Failed to start XR Service",
|
||||||
|
@ -174,7 +175,6 @@ impl App {
|
||||||
};
|
};
|
||||||
self.debug_view.sender().emit(DebugViewMsg::ClearLog);
|
self.debug_view.sender().emit(DebugViewMsg::ClearLog);
|
||||||
self.xr_devices = vec![];
|
self.xr_devices = vec![];
|
||||||
if prof.can_start() {
|
|
||||||
remove_file(prof.xrservice_type.ipc_file_path())
|
remove_file(prof.xrservice_type.ipc_file_path())
|
||||||
.is_err()
|
.is_err()
|
||||||
.then(|| println!("Failed to remove xrservice IPC file"));
|
.then(|| println!("Failed to remove xrservice IPC file"));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue