mirror of
https://github.com/rmcrackan/Libation.git
synced 2026-10-27 07:59:25 -04:00
Fix an oopsie
This commit is contained in:
1 parent
508e031143
commit
cc1d2b423f
1 file changed
+3
-3
@@ -181,7 +181,7 @@ namespace LibationWinForms.ProcessQueue
|
||||
|
||||
public bool MoveNext()
|
||||
{
|
||||
int queuedCount, completedCount = 0;
|
||||
int completedCount = 0, queuedCount = 0;
|
||||
bool completedChanged = false;
|
||||
try
|
||||
{
|
||||
@@ -208,8 +208,8 @@ namespace LibationWinForms.ProcessQueue
|
||||
finally
|
||||
{
|
||||
if (completedChanged)
|
||||
CompletedCountChanged?.Invoke(this, _completed.Count);
|
||||
QueuededCountChanged?.Invoke(this, _queued.Count);
|
||||
CompletedCountChanged?.Invoke(this, completedCount);
|
||||
QueuededCountChanged?.Invoke(this, queuedCount);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user