Move event invoke out of lock
This commit is contained in:
parent
26f0ff62df
commit
2d3eb29bd5
@ -35,8 +35,8 @@ namespace ApplicationServices
|
||||
{
|
||||
if (Scanning)
|
||||
return new();
|
||||
ScanBegin?.Invoke(null, accounts.Length);
|
||||
}
|
||||
ScanBegin?.Invoke(null, accounts.Length);
|
||||
|
||||
//These are the minimum response groups required for the
|
||||
//library scanner to pass all validation and filtering.
|
||||
@ -108,8 +108,8 @@ namespace ApplicationServices
|
||||
{
|
||||
if (Scanning)
|
||||
return (0, 0);
|
||||
ScanBegin?.Invoke(null, accounts.Length);
|
||||
}
|
||||
ScanBegin?.Invoke(null, accounts.Length);
|
||||
|
||||
logTime($"pre {nameof(scanAccountsAsync)} all");
|
||||
var libraryOptions = new LibraryOptions
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user