mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-21 20:24:59 +00:00
fix: app crashes when close a repository on read-only drive (#1080)
Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
parent
5f2bd8ad94
commit
54d49a9eda
1 changed files with 1 additions and 1 deletions
|
@ -518,7 +518,7 @@ namespace SourceGit.ViewModels
|
|||
{
|
||||
File.WriteAllText(Path.Combine(_gitDir, "sourcegit.settings"), settingsSerialized);
|
||||
}
|
||||
catch (DirectoryNotFoundException)
|
||||
catch
|
||||
{
|
||||
// Ignore
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue