Bug #69989 [Opn->Csd]: Generators don't participate in cycle GC
| From: | nikic@php.net | Date: | Fri, 12 Feb 2016 17:53:38 +0000 |
| Subject: | Bug #69989 [Opn->Csd]: Generators don't participate in cycle GC | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-199179@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=69989&edit=1
ID: 69989
Updated by: nikic@php.net
Reported by: nikic@php.net
Summary: Generators don't participate in cycle GC
-Status: Open
+Status: Closed
Type: Bug
Package: Scripting Engine problem
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
Automatic comment on behalf of nikic
Revision: http://git.php.net/?p=php-src.git;a=commit;h=c0c73f708394c0c7ee4a3731dc29c87b83f786a4
Log: Fix bug #69989
Previous Comments:
------------------------------------------------------------------------
[2015-07-03 16:35:06] nikic@php.net
Description:
------------
Cycles involving generators will currently not be detected. E.g. this will leak:
$gen = (function() use(&$gen) { yield; })();
$gen->rewind();
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=69989&edit=1