mirror of
https://github.com/ppy/osu.git
synced 2025-02-21 23:59:16 +08:00
Replace with attemptexit to better display how restarting is borked
This commit is contained in:
parent
04c8df065c
commit
36a3765ee4
@ -114,7 +114,7 @@ namespace osu.Desktop
|
|||||||
UseShellExecute = true
|
UseShellExecute = true
|
||||||
};
|
};
|
||||||
Process.Start(startInfo);
|
Process.Start(startInfo);
|
||||||
Environment.Exit(0);
|
base.AttemptExit();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
|
Loading…
Reference in New Issue
Block a user