diff --git a/bin/frankenphp-worker.php b/bin/frankenphp-worker.php index 26f95451c..e3a342366 100644 --- a/bin/frankenphp-worker.php +++ b/bin/frankenphp-worker.php @@ -76,4 +76,6 @@ } } finally { $worker?->terminate(); + + gc_collect_cycles(); }