Skip to content

Commit 1f1e9be

Browse files
committed
Collect GC cycles first
1 parent bc4cfa6 commit 1f1e9be

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: src/EventLoop.php

+2
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ protected function now(): float
7373

7474
private static function onShutdown(int $invocationCount): void
7575
{
76+
\gc_collect_cycles();
77+
7678
$driver = self::getDriver();
7779

7880
$pending = false;

0 commit comments

Comments
 (0)