mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-06 03:07:04 +02:00
Merge pull request #78 from theClueless/programSyncIssue
fixed lock issue
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user