From 8ed9ec50bdd136e373ac066e89592897ff467375 Mon Sep 17 00:00:00 2001 From: Nikita <62756604+FlamesONE@users.noreply.github.com> Date: Wed, 24 Jul 2024 14:27:36 +0500 Subject: [PATCH] v1.2.3 - Fix heap leak --- module.json | 2 +- src/Services/StatsService.php | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/module.json b/module.json index 3607b57..9adca4c 100644 --- a/module.json +++ b/module.json @@ -1,6 +1,6 @@ { "name": "Stats", - "version": "1.2.2", + "version": "1.2.3", "description": "stats.module_description", "authors": ["Flames"], "providers": ["Flute\\Modules\\Stats\\src\\ServiceProviders\\StatsServiceProvider"], diff --git a/src/Services/StatsService.php b/src/Services/StatsService.php index 5063ff1..50e10d4 100644 --- a/src/Services/StatsService.php +++ b/src/Services/StatsService.php @@ -279,8 +279,6 @@ private function populateServerModes(): void $additional = []; } - unset($mode->server->dbconnections); - $this->serverModes[$mode->server->id] = [ 'server' => $mode->server, 'db' => $mode->dbname,