diff --git a/webapp/src/Service/RejudgingService.php b/webapp/src/Service/RejudgingService.php index 630fe65122..c9aab6da74 100644 --- a/webapp/src/Service/RejudgingService.php +++ b/webapp/src/Service/RejudgingService.php @@ -335,6 +335,8 @@ public function finishRejudging(Rejudging $rejudging, string $action, ?callable SET result = :aborted WHERE judgingid = :judgingid AND result IS NULL', ['aborted' => 'aborted', 'judgingid' => $submission['judgingid']]); + $this->em->getConnection()->executeQuery( + 'DELETE FROM queuetask WHERE judgingid = :judgingid', ['judgingid' => $submission['judgingid']]); } else { $error = "Unknown action '$action' specified."; throw new BadMethodCallException($error);