Skip to content

Commit

Permalink
fix: while true without delay
Browse files Browse the repository at this point in the history
  • Loading branch information
AuroraZiling committed Feb 5, 2024
1 parent 37752ce commit 62eee27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PipManager/Services/Action/ActionService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -154,13 +154,13 @@ public void Runner()
currentAction.ConsoleError = consoleError;
ExceptionList.Add(currentAction);
}
Thread.Sleep(500);

Application.Current.Dispatcher.Invoke(delegate
{
ActionList.RemoveAt(0);
});
}
Thread.Sleep(500);
}
}
}

0 comments on commit 62eee27

Please sign in to comment.