mirror of
https://gitlab.com/gabmus/envision.git
synced 2025-08-02 22:29:01 +00:00
chore: format
This commit is contained in:
parent
7ab5b7085f
commit
4b58b6c2d8
1 changed files with 2 additions and 1 deletions
|
@ -311,7 +311,8 @@ impl SimpleComponent for App {
|
||||||
.emit(MainViewMsg::XRServiceActiveChanged(false, None));
|
.emit(MainViewMsg::XRServiceActiveChanged(false, None));
|
||||||
if let Some(worker) = self.xrservice_worker.as_ref() {
|
if let Some(worker) = self.xrservice_worker.as_ref() {
|
||||||
if let Some(code) = worker.exit_code() {
|
if let Some(code) = worker.exit_code() {
|
||||||
if code != 0 && code != 15 { // 15 is SIGTERM
|
if code != 0 && code != 15 {
|
||||||
|
// 15 is SIGTERM
|
||||||
sender.input(Msg::OnServiceLog(vec![format!(
|
sender.input(Msg::OnServiceLog(vec![format!(
|
||||||
"{} exited with code {}",
|
"{} exited with code {}",
|
||||||
self.get_selected_profile().xrservice_type,
|
self.get_selected_profile().xrservice_type,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue