mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Fix #762
This commit is contained in:
parent
e7879384b1
commit
3f3a34f788
1 changed files with 3 additions and 0 deletions
|
|
@ -37,6 +37,7 @@ namespace Wox.Infrastructure.Storage
|
|||
}
|
||||
else
|
||||
{
|
||||
stream.Close();
|
||||
LoadDefault();
|
||||
}
|
||||
}
|
||||
|
|
@ -64,11 +65,13 @@ namespace Wox.Infrastructure.Storage
|
|||
catch (SerializationException e)
|
||||
{
|
||||
Log.Exception(e);
|
||||
stream.Close();
|
||||
LoadDefault();
|
||||
}
|
||||
catch (InvalidCastException e)
|
||||
{
|
||||
Log.Exception(e);
|
||||
stream.Close();
|
||||
LoadDefault();
|
||||
}
|
||||
finally
|
||||
|
|
|
|||
Loading…
Reference in a new issue