mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-06 11:16:51 +02:00
Fix crash issues when deserialize failed
This commit is contained in:
@@ -79,7 +79,7 @@ namespace Wox.Infrastructure.Storage
|
||||
/// <returns></returns>
|
||||
protected virtual T LoadDefault()
|
||||
{
|
||||
return serializedObject;
|
||||
return new T();
|
||||
}
|
||||
|
||||
protected abstract void LoadInternal();
|
||||
|
||||
Reference in New Issue
Block a user