This commit is contained in:
bao-qian 2016-06-16 02:25:42 +01:00
parent e7879384b1
commit 3f3a34f788

View File

@ -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