svn: /phpdoc/en/trunk/reference/cairo/cairosurface/ construct.xml
| From: | Mark Skilbeck | Date: | Wed, 02 Jun 2010 08:08:15 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/cairo/cairosurface/ construct.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-6775@lists.php.net to get a copy of this message | ||
markskilbeck Wed, 02 Jun 2010 08:08:15 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=300086
Log:
Added note about 5.2 and circular references.
Changed paths:
U phpdoc/en/trunk/reference/cairo/cairosurface/construct.xml
Modified: phpdoc/en/trunk/reference/cairo/cairosurface/construct.xml
===================================================================
--- phpdoc/en/trunk/reference/cairo/cairosurface/construct.xml 2010-06-02 05:53:13 UTC (rev 300085)
+++ phpdoc/en/trunk/reference/cairo/cairosurface/construct.xml 2010-06-02 08:08:15 UTC (rev 300086)
@@ -30,7 +30,18 @@
No return value
</para>
</refsect1>
-
+
+ <refsect1 role="notes">
+ &reftitle.notes;
+ <note>
+ <para>
+ If you're using a PHP version before 5.3, you must destroy the
<classname>CairoContext</classname>
+ associated with a <classname>CairoSurface</classname> <em>after</em>
you destroy the
+ CairoSurface. Otherwise, you're left with a Circular-reference memory leak.
+ </para>
+ </note>
+ </refsect1>
+
<refsect1 role="seealso">
&reftitle.seealso;
<para>