mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-12-14 19:49:15 +08:00
Fix #762
This commit is contained in:
parent
e7879384b1
commit
3f3a34f788
@ -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 New Issue
Block a user