amphp / amp

A non-blocking concurrency framework for PHP applications. 🐘
https://amphp.org/amp
MIT License
4.25k stars 257 forks source link

Allow GC of arguments during `async()` closure execution #395

Closed Nevay closed 2 years ago

Nevay commented 2 years ago

Allows users to free memory if an argument is no longer required. Requires https://github.com/revoltphp/event-loop/pull/60.

trowski commented 2 years ago

@Nevay Thanks for the fix here as well!