mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-06 03:07:04 +02:00
Add check null for event
This commit is contained in:
@@ -69,7 +69,7 @@ namespace Wox.Plugin.WebSearch
|
||||
};
|
||||
|
||||
results.Add(result);
|
||||
ResultsUpdated.Invoke(this, new ResultUpdatedEventArgs
|
||||
ResultsUpdated?.Invoke(this, new ResultUpdatedEventArgs
|
||||
{
|
||||
Results = results,
|
||||
Query = query
|
||||
@@ -167,4 +167,4 @@ namespace Wox.Plugin.WebSearch
|
||||
|
||||
public event ResultUpdatedEventHandler ResultsUpdated;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user