mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-06 11:16:51 +02:00
Fix #762
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user