Merge branch 'master' into v1.5.0

This commit is contained in:
MathieuG-P
2024-02-24 21:19:18 +01:00
3 changed files with 34 additions and 6 deletions
@@ -123,13 +123,16 @@ export class SteamLauncherService extends AbstractLauncherService implements Sto
})
);
await launchPromise.then(exitCode => {
try {
const exitCode = await launchPromise;
log.info("BS process exit code", exitCode);
}).catch(err => {
}
catch(err: any) {
throw CustomError.fromError(err, BSLaunchError.BS_EXIT_ERROR);
}).finally(() => {
this.restoreSteamVR().catch(log.error);
});
}
finally {
await this.restoreSteamVR().catch(log.error);
}
})().then(() => {
obs.complete();