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