Skip to content
This repository has been archived by the owner on Jun 20, 2021. It is now read-only.

Commit

Permalink
YeePHP: flush the previous jobs when they have been commited
Browse files Browse the repository at this point in the history
  • Loading branch information
SharkEzz committed Jan 2, 2021
1 parent 1e99479 commit 09f84a5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/YeePHP.php
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,8 @@ public function commit(): bool
$success = true;
}

$this->jobs = [];

return $success;
}

Expand Down

0 comments on commit 09f84a5

Please sign in to comment.