Skip to content

Commit

Permalink
Finishes garbage collection before restarting the worker process.
Browse files Browse the repository at this point in the history
  • Loading branch information
a.stecher committed May 23, 2024
1 parent a5dc6c1 commit 2275cd9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bin/frankenphp-worker.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,5 @@
}
} finally {
$worker?->terminate();
gc_collect_cycles();
}

0 comments on commit 2275cd9

Please sign in to comment.