From 510caf61bf2c68a37d6ded84f289f80be61beca9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20Wolda=C5=84ski?= Date: Thu, 27 Jan 2022 16:47:56 +0100 Subject: [PATCH] [BUGFIX] fix version handling - close handle if not configured properly --- Classes/CacheManager.php | 1 + composer.json | 1 - ext_emconf.php | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Classes/CacheManager.php b/Classes/CacheManager.php index bfdf5ae..593397b 100644 --- a/Classes/CacheManager.php +++ b/Classes/CacheManager.php @@ -87,6 +87,7 @@ public function execute(): void } if (count($curlHandles) === 0) { + curl_multi_close($multiHandle); return; } diff --git a/composer.json b/composer.json index 461a9ad..fa6e82b 100644 --- a/composer.json +++ b/composer.json @@ -3,7 +3,6 @@ "type": "typo3-cms-extension", "description": "Fork from https://github.com/TYPO3-extensions/purge", "minimum-stability": "stable", - "version": "1.0.0", "license": ["GPL-2.0+"], "keywords": ["TYPO3 CMS", "Purge"], "require": { diff --git a/ext_emconf.php b/ext_emconf.php index dcd6c74..11777c4 100644 --- a/ext_emconf.php +++ b/ext_emconf.php @@ -4,7 +4,7 @@ 'title' => 'Cache Purger', 'description' => 'Purge cached URLs within Varnish instances', 'category' => 'misc', - 'version' => '1.0.0', + 'version' => '1.0.2', 'state' => 'stable', 'clearCacheOnLoad' => 0, 'constraints' => [