diff options
author | flow <flowlnlnln@gmail.com> | 2022-07-22 01:19:56 -0300 |
---|---|---|
committer | flow <flowlnlnln@gmail.com> | 2022-08-28 16:29:01 -0300 |
commit | c410bb4ecbc553fa6016a4c4e58026343deeec33 (patch) | |
tree | d2bf8e569cd83fec60b8e0d42e883cc66cf3847c | |
parent | a720bcc637957ea7d5ed5594797a682818e4bfef (diff) | |
download | PrismLauncher-c410bb4ecbc553fa6016a4c4e58026343deeec33.tar.gz PrismLauncher-c410bb4ecbc553fa6016a4c4e58026343deeec33.tar.bz2 PrismLauncher-c410bb4ecbc553fa6016a4c4e58026343deeec33.zip |
fix: 'succeeded while not running' spam in ConcurrentTask
Signed-off-by: flow <flowlnlnln@gmail.com>
-rw-r--r-- | launcher/tasks/ConcurrentTask.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/launcher/tasks/ConcurrentTask.cpp b/launcher/tasks/ConcurrentTask.cpp index ce2f9b87..ecd7ae13 100644 --- a/launcher/tasks/ConcurrentTask.cpp +++ b/launcher/tasks/ConcurrentTask.cpp @@ -71,7 +71,7 @@ void ConcurrentTask::startNext() if (m_aborted || m_doing.count() > m_total_max_size) return; - if (m_queue.isEmpty() && m_doing.isEmpty()) { + if (m_queue.isEmpty() && m_doing.isEmpty() && !wasSuccessful()) { emitSucceeded(); return; } |