Skip to content

Commit 323eb7a

Browse files
committed
fix memory leak
1 parent f067822 commit 323eb7a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Services/StateService.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,9 @@ public function commit(): void
3131
{
3232
foreach (array_unique($this->wallets) as $wallet) {
3333
$this->bookkeeperService->increase($wallet, $this->regulatorService->diff($wallet));
34-
$this->regulatorService->missing($wallet);
3534
}
35+
36+
$this->purge();
3637
}
3738

3839
public function purge(): void

0 commit comments

Comments
 (0)