fixed lock issue

This commit is contained in:
AT
2019-11-16 02:37:01 +02:00
parent 8edebb9f75
commit 8446c9563d
2 changed files with 9 additions and 8 deletions

View File

@@ -165,9 +165,9 @@ namespace Wox.Plugin.Program.Programs
}
#endif
#if DEBUG //make developer aware and implement handling
catch(Exception e)
catch
{
throw e;
throw;
}
#endif
return u.Apps;
@@ -230,8 +230,7 @@ namespace Wox.Plugin.Program.Programs
public override bool Equals(object obj)
{
var uwp = obj as UWP;
if (uwp != null)
if (obj is UWP uwp)
{
return FamilyName.Equals(uwp.FamilyName);
}