php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #69989 Generators don't participate in cycle GC
Submitted: 2015-07-03 16:35 UTC Modified: -
From: nikic@php.net Assigned:
Status: Closed Package: Scripting Engine problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: nikic@php.net
New email:
PHP Version: OS:

 

 [2015-07-03 16:35 UTC] nikic@php.net
Description:
------------
Cycles involving generators will currently not be detected. E.g. this will leak:

$gen = (function() use(&$gen) { yield; })();
$gen->rewind();



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-02-12 17:53 UTC] nikic@php.net
Automatic comment on behalf of nikic
Revision: http://git.php.net/?p=php-src.git;a=commit;h=c0c73f708394c0c7ee4a3731dc29c87b83f786a4
Log: Fix bug #69989
 [2016-02-12 17:53 UTC] nikic@php.net
-Status: Open +Status: Closed
 [2016-04-18 09:29 UTC] bwoebi@php.net
Automatic comment on behalf of nikic
Revision: http://git.php.net/?p=php-src.git;a=commit;h=c0c73f708394c0c7ee4a3731dc29c87b83f786a4
Log: Fix bug #69989
 [2016-07-20 11:33 UTC] davey@php.net
Automatic comment on behalf of nikic
Revision: http://git.php.net/?p=php-src.git;a=commit;h=c0c73f708394c0c7ee4a3731dc29c87b83f786a4
Log: Fix bug #69989
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 07 12:01:29 2024 UTC