[wp-trac] [WordPress Trac] #11597: __destruct() is not designed to clean up circular references
WordPress Trac
wp-trac at lists.automattic.com
Tue Feb 16 16:27:08 UTC 2010
#11597: __destruct() is not designed to clean up circular references
--------------------------+-------------------------------------------------
Reporter: hakre | Owner:
Type: defect (bug) | Status: reopened
Priority: normal | Milestone:
Component: General | Version: 2.9
Severity: normal | Resolution:
Keywords: has-patch |
--------------------------+-------------------------------------------------
Comment(by hakre):
Replying to [comment:8 Denis-de-Bernardy]:
> I'd have one tiny objection to the current patch: a __destruct()
function that calls destroy() should be kept around.
Since destroy() has to be called by user code whenever the object is to be
unset, this should not be necessary - taken for granted that pattern is to
be used here.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11597#comment:11>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list