diff --git a/src/Core/Worker.php b/src/Core/Worker.php index 6fb8bd40f..24febf3bc 100644 --- a/src/Core/Worker.php +++ b/src/Core/Worker.php @@ -614,6 +614,7 @@ class Worker } } } + DBA::close($entries); } /** diff --git a/src/Model/User.php b/src/Model/User.php index be71bcf64..89574e760 100644 --- a/src/Model/User.php +++ b/src/Model/User.php @@ -1298,6 +1298,7 @@ class User $statistics['active_users_monthly']++; } } + DBA::close($userStmt); return $statistics; }